fix(simulation): keep runtime stable on settings save
This commit is contained in:
@@ -19,7 +19,7 @@ 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(workspace, /simulation-catalog__table/);
|
||||
assert.match(workspace, /<SimulationViewport project=\{selected\}/);
|
||||
assert.match(workspace, /<SimulationViewport[\s\S]*project=\{selected\}/);
|
||||
assert.match(workspace, /<ConfirmationModal/);
|
||||
assert.match(styles, /styles\/simulation\.css/);
|
||||
});
|
||||
@@ -103,4 +103,7 @@ test("PlayCanvas owns the realtime scene graph without an iframe or React entity
|
||||
assert.match(viewport, /Ось инверсии collision-слоя/);
|
||||
assert.match(viewport, /saveSimulationViewerSettings/);
|
||||
assert.match(viewport, /onProjectChange\?\.\(saved\)/);
|
||||
assert.match(viewport, /const worldManifestRevision = JSON\.stringify\(project\.worldManifest\)/);
|
||||
assert.match(viewport, /\[project\.projectId, worldManifestRevision\]/);
|
||||
assert.doesNotMatch(viewport, /\[project\.projectId, project\.worldManifest\]/);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user