Fix the camera picker and oblique traffic waits in two QA scripts

The CCTV camera check lost camera B from the picker when the flight to
camera A changed the cameras in view; the picker now keeps focus while A
is held. The oblique traffic wait compared exact seven-decimal view keys
that a settled camera never reproduced; it compares the coverage with the
current view within small tolerances and prints both keys on timeout.
This commit is contained in:
German Khokhlov committed 2026-11-10 21:51:54 +04:00
1 parent 97e192ebce
commit 6b0d3f4675
4 files changed
+271 -31

No files matched your search

+2
View File
@@ -279,6 +279,8 @@ try {
.classList.contains('has-frame'),
);
await page.setCacheEnabled(false);
// Keep both options while selecting A flies the view away from B.
await page.focus('#cctv-camera-select');
delayCameraA = true;
await page.select('#cctv-camera-select', 'qa-camera-a');
await page.waitForFunction(