From 59a60d526db73974a81e57b739458f59c18cfe7f Mon Sep 17 00:00:00 2001 From: Sergey Matyunin Date: Sun, 27 Sep 2026 00:17:55 +0300 Subject: [PATCH] =?UTF-8?q?test:=20=D1=81=D0=B4=D0=B5=D0=BB=D0=B0=D1=82?= =?UTF-8?q?=D1=8C=20=D0=BF=D1=80=D0=BE=D0=B2=D0=B5=D1=80=D0=BA=D1=83=20mag?= =?UTF-8?q?net=20=D0=BB=D0=B5=D1=81=D1=82=D0=BD=D0=B8=D1=86=D1=8B=20=D0=BE?= =?UTF-8?q?=D0=B4=D0=BD=D0=BE=D0=B7=D0=BD=D0=B0=D1=87=D0=BD=D0=BE=D0=B9=20?= =?UTF-8?q?(#663)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Issue: #663 User-Visible: no --- demo/smoke_stairs.mjs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/demo/smoke_stairs.mjs b/demo/smoke_stairs.mjs index 8173ed62..519ebeb7 100644 --- a/demo/smoke_stairs.mjs +++ b/demo/smoke_stairs.mjs @@ -65,6 +65,9 @@ const out = await page.evaluate(async () => { await hp.setServerConfig((config) => { for (const space of config.spaces) delete space.stairs; const first = config.spaces.find((space) => space.id === 'f1'); + // Keep the scale explicit: this witness must prove a 20 cm physical face, + // not inherit whichever default a fixture migration happens to exercise. + first.cell_cm = 5; first.partitions = [...(first.partitions || []), { id: 'stair-smoke-wall', a: [0.15, 0.60], b: [0.85, 0.60], cm: 20, }]; @@ -74,7 +77,9 @@ const out = await page.evaluate(async () => { await hp.setMode('plan'); result.straightToolExists = await chooseStair('straight'); - await clickPlan([400, 650]); + // 625 is within the wall magnet's reach but is not itself the flush centre + // (658.33...). The previous 650 accidentally passed even without a snap. + await clickPlan([400, 625]); const straight = stairs().find((stair) => stair.kind === 'straight'); result.straightCreatedOnlyOnCurrentFloor = !!straight && stairs('garden').length === 0; result.wallMagnetUsesPhysicalFace = !!straight