test: exercise native Scene double-click and recording state

This commit is contained in:
Sameh Khamis committed 2026-09-13 04:01:42 -07:00
1 parent 6bd755109f
commit fac2935d30
1 file changed
+3 -3
+3 -3
View File
@@ -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');