From 9c2f08bd40a0a085f49268fd44a5c2b98dd2c29f Mon Sep 17 00:00:00 2001 From: Sergey Matyunin Date: Sat, 22 Aug 2026 22:57:36 +0300 Subject: [PATCH] test(smoke): bind the space-delete blocker fixture Issue: #244 User-Visible: no --- demo/smoke_orphan_space_references.mjs | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/demo/smoke_orphan_space_references.mjs b/demo/smoke_orphan_space_references.mjs index 20338d06..c01e2b79 100644 --- a/demo/smoke_orphan_space_references.mjs +++ b/demo/smoke_orphan_space_references.mjs @@ -13,10 +13,17 @@ const out = await page.evaluate(async () => { id: 'home', title: 'Home', view_box: [0, 0, 1, 1], cell_cm: 5, rooms: [{ id: 'living', name: 'Living', area: null, poly: [[0, 0], [1, 0], [1, 1], [0, 1]] }], }], - markers: [{ - id: 'orphan', binding: 'virtual', space: 'gone', name: 'Kept marker', - icon: 'mdi:washing-machine', description: 'must survive', - }], + markers: [ + { + id: 'orphan', binding: 'virtual', space: 'gone', name: 'Kept marker', + icon: 'mdi:washing-machine', description: 'must survive', + }, + { + // Independent from the Optimize→Undo cycle: this is the actual + // dependency of the later attempt to delete `home`. + id: 'home-blocker', binding: 'virtual', space: 'home', name: 'Home blocker', + }, + ], settings: {}, }; const originalLayout = {