Stories: name the Opened in GEV toast for what it is

This commit is contained in:
Sameh Khamis committed 2026-11-16 13:48:14 -08:00
1 parent a5065743d9
commit a9990018ea
9 files changed
+30 -29

No files matched your search

+2 -2
View File
@@ -258,7 +258,7 @@ test('reopening while a scene tears down keeps the view from before Stories', as
controller.open();
controller.openStory('gev:bhote-koshi-nepal-scene');
director.running = true;
const toast = store.hostedToast;
const toast = store.openedToast;
const closing = controller.openInGev();
// The scene has moved the camera; the person opens Stories again at once.
camera.position = { x: 9, y: 9, z: 9 };
@@ -267,7 +267,7 @@ test('reopening while a scene tears down keeps the view from before Stories', as
await closing;
assert.deepEqual(director.selected, []);
assert.deepEqual(director.styleManager.panels, []);
assert.equal(store.hostedToast, toast);
assert.equal(store.openedToast, toast);
assert.equal(camera.views.length, 0, 'no restore under the reopened Stories');
await controller.close();
const { x, y, z } = camera.views.at(-1).destination;