test: wait until the page shows a screen, not only until it lays out #504

Merged
clawbot merged 1 commits from issue-502-harness-screen-wait into next 2026-10-08 12:49:44 +02:00
1 Commits
Author SHA1 Message Date
sneak fbfff359b1 test: wait until the page shows a screen, not only until it lays out (closes #502)
check / check (push) Waiting to run
e2e / e2e-chrome (push) Waiting to run
e2e / e2e-firefox (push) Waiting to run
The browser suites' wait for a screen passed as soon as the element laid
out. Until the page's stylesheet has applied, every view lays out, so an
approval test could read the prompt before the page's script had filled
it. visible() in the Chrome harness and waitVisible() in the Firefox
driver now also wait for the page to finish loading and for neither the
element nor anything around it to carry the hidden class that showView()
keeps on every view but the current one. Both also require the element's
computed visibility to be visible, as the browser library's own check in
Chrome did. No caller changed.

Model: opus-5-5
2026-10-08 10:16:55 +00:00