Preserve installed operator workspace before consolidation
Local preservation snapshot, not a new deployment or simulation acceptance.
This commit is contained in:
@@ -20,18 +20,20 @@ test("simulation is a dedicated Polygon workspace with a bounded feature slice",
|
||||
assert.match(productModel, /id: "simulations"[\s\S]*root: "polygon"[\s\S]*kind: "simulations"/);
|
||||
assert.match(workspaceHub, /case "simulations":[\s\S]*<SimulationWorkspace \/>/);
|
||||
assert.match(catalog, /simulation-catalog__table/);
|
||||
assert.match(workspace, /archivesFromDrop/);
|
||||
assert.match(workspace, /uploadSimulationProjectSource/);
|
||||
|
||||
|
||||
assert.match(catalog, /colSpan=\{3\}/);
|
||||
assert.match(catalog, /Ожидает обработки/);
|
||||
assert.match(catalog, /Прогресс \$\{roundedPercent\}% \|/);
|
||||
assert.match(catalog, /Осталось примерно \$\{minutes\} мин/);
|
||||
assert.match(catalog, /simulation-catalog__progress-track/);
|
||||
assert.doesNotMatch(catalog, /disabled=\{ACTIVE_STATUSES\.has/);
|
||||
assert.match(workspace, /<SimulationViewport[\s\S]*project=\{selected\}/);
|
||||
assert.match(workspace, /<ConfirmationModal/);
|
||||
assert.match(workspace, /if \(state === "building_streamed_sog"\) return "Сборка LOD"/);
|
||||
assert.doesNotMatch(workspace, /\{selected\.provider\.state \?\? selected\.status\}/);
|
||||
|
||||
|
||||
|
||||
|
||||
assert.match(workspace, /<AiPolygonWorkspace \/>/);
|
||||
assert.doesNotMatch(workspace, /simulation-profile|LccGaussianWorkspace/);
|
||||
assert.match(styles, /styles\/simulation\.css/);
|
||||
});
|
||||
|
||||
@@ -69,12 +71,12 @@ test("browser upload remains same-origin, resumable and token-free", async () =>
|
||||
test("failed simulation can restart from its retained Mission Core source", async () => {
|
||||
const [core, workspace] = await Promise.all([
|
||||
read("core/simulation/projects.ts"),
|
||||
read("workspaces/simulation/SimulationWorkspace.tsx"),
|
||||
read("components/simulation/SimulationSourceImport.tsx"),
|
||||
]);
|
||||
|
||||
assert.match(core, /retrySimulationProject/);
|
||||
assert.match(core, /\$\{API_ROOT\}\/\$\{encodeURIComponent\(projectId\)\}\/build/);
|
||||
assert.match(workspace, /Повторить сборку/);
|
||||
assert.match(workspace, /Повторить подготовку/);
|
||||
});
|
||||
|
||||
test("PlayCanvas owns the realtime scene graph without an iframe or React entity tree", async () => {
|
||||
@@ -97,7 +99,7 @@ test("PlayCanvas owns the realtime scene graph without an iframe or React entity
|
||||
assert.match(runtime, /camera\.script\?\.create\(CameraControls/);
|
||||
assert.match(runtime, /const HOME_POSITION = new Vec3\(0, 1, 0\)/);
|
||||
assert.match(runtime, /const HOME_FOCUS = new Vec3\(1, 1, 0\)/);
|
||||
assert.match(runtime, /maximum: \{[^}]*lodRangeMin: 0, lodRangeMax: 5, pixelRatio: 2, splatBudget: 4_000_000, targetFps: 60/);
|
||||
assert.match(await read("core/simulation/gaussianQuality.ts"), /maximum: \{[^}]*lodRangeMin: 0, lodRangeMax: 5, pixelRatio: 2, splatBudget: 4_000_000, targetFps: 60/);
|
||||
assert.match(runtime, /app\.scene\.gsplat\.splatBudget = profile\.splatBudget/);
|
||||
assert.match(runtime, /app\.autoRender = false/);
|
||||
assert.match(runtime, /app\.systems\.gsplat\?\.on\("frame:request", this\.requestGsplatFrame\)/);
|
||||
|
||||
Reference in New Issue
Block a user