From 15cfa965532157960ec8886fd20b402a63bd4a4f Mon Sep 17 00:00:00 2001 From: Sergey Matyunin Date: Fri, 4 Sep 2026 10:25:32 +0300 Subject: [PATCH] test: fix room fit ownership witness Issue: #152 User-Visible: no --- demo/smoke_room_fit.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/smoke_room_fit.mjs b/demo/smoke_room_fit.mjs index 6964cf04..f4b8def3 100644 --- a/demo/smoke_room_fit.mjs +++ b/demo/smoke_room_fit.mjs @@ -111,9 +111,9 @@ const out = await page.evaluate(async () => { result.keyboardUsesSameCommand = c._roomFocus?.roomId === 'room-a' && (root.activeElement === label || document.activeElement === label); - const areaLink = label.querySelector('.rlgo'); c._resetZoom(); await waitCamera(); c._clearRoomFocus(true); + const areaLink = root.querySelector('.roomlabel[data-id="room-a"] .rlgo'); const beforeLink = JSON.stringify(c._view); pointer(areaLink, 'pointerdown', 15203); pointer(areaLink, 'pointerup', 15203);