Store and assert snapshot after pressing Escape in import-model-asset.e2e.ts
This commit is contained in:
@@ -62,7 +62,8 @@ test("imports a model asset, places an instance, and survives reload", async ({
|
||||
}
|
||||
|
||||
await page.keyboard.press("Escape");
|
||||
await expect(await getEditorStoreSnapshot(page)).toMatchObject({
|
||||
const cancelledSnapshot = await getEditorStoreSnapshot(page);
|
||||
expect(cancelledSnapshot).toMatchObject({
|
||||
toolMode: "select",
|
||||
viewportTransientState: {
|
||||
toolPreview: {
|
||||
|
||||
Reference in New Issue
Block a user