From fac2935d309e5f0ee7f9ba125df10978ae2102fb Mon Sep 17 00:00:00 2001 From: Sameh Khamis Date: Sun, 13 Sep 2026 04:01:42 -0700 Subject: [PATCH] test: exercise native Scene double-click and recording state --- scripts/qa-scene-controls.mjs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/qa-scene-controls.mjs b/scripts/qa-scene-controls.mjs index f6606de27..4c82c347f 100644 --- a/scripts/qa-scene-controls.mjs +++ b/scripts/qa-scene-controls.mjs @@ -78,7 +78,7 @@ try { }), ); promptValue = 'QA shot'; - await page.click('.scene-shot-label', { clickCount: 2 }); + await page.click('.scene-shot-label', { count: 2 }); await page.waitForFunction( () => document.querySelector('.scene-shot-label')?.textContent === @@ -189,7 +189,7 @@ try { document.getElementById('scene-capture-btn').disabled && document.getElementById('scene-start-btn').disabled && !document.getElementById('scene-stop-btn').disabled && - window.__godsEyeView.styleManager.getViewState().recording, + window.__godsEyeView.styleManager.getControlState().recording, ), ); await page.keyboard.press('Escape'); @@ -205,7 +205,7 @@ try { !document.getElementById('scene-start-btn').disabled && document.getElementById('scene-stop-btn').disabled && !document.getElementById('scene-download-btn').disabled && - !window.__godsEyeView.styleManager.getViewState().recording, + !window.__godsEyeView.styleManager.getControlState().recording, ), ); await page.click('#scene-download-btn');