test: prove hidden-tab polling in a real browser

This commit is contained in:
Said committed 2026-10-20 14:37:57 +01:00
1 parent 2c8b3593d1
commit 5b9c726f33
5 files changed
+134 -1

No files matched your search

+2
View File
@@ -4002,6 +4002,8 @@ animation. Polls, surface completions and trail fades request individual renders
Disable clears vehicles, detection references, requests, timers and holds;
destruction also releases collections and registrations.
The `scripts/qa-layer-visibility.mjs` gate uses the development-only registration seam and real browser tab visibility to prove periodic work pauses while hidden, explicit refresh still works, resume performs one overdue refresh, and disabled layers stay stopped.
**Acceptance harness.** Run against an already running development server:
```sh