Skip to content

A spy satellite simulator in your browser, except the data is real. Live open source spatial intelligence on a photorealistic 3D globe.

test: exercise native Scene double-click and recording state

Sameh Khamisfac2935d309e
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 = '<b>QA shot</b>';
- 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');