openclaw/docs/reference/test
Peter Steinberger b0324be63c
test(ui): record renderer stall evidence when Control UI e2e waits fail (#162767)
* test(ui): record renderer stall evidence when Control UI e2e waits fail

Two scheduled main runs failed intermittently in comment flows without
evidence of what the renderer was doing: a pin click hung for 30 s with the
failure read missing its deadline, and a comment delete never showed up
during a 15 s poll. Neither reproduced locally.

Mocked-Gateway pages now arm a stall probe before navigation. A renderer
that misses the failure-read deadline reports main-thread busy time by kind
and its paused JavaScript stack, then resumes. A stall that ended appears as
script-attributed long animation frames. Public output keeps only bundle
paths, positions, function names, and listener tag and event names.

* test(ui): arm the stall probe before tests open CDP sessions

PR CI showed 11 mobile safe-area geometry failures: installMockGateway
attached the probe after those tests had set
Emulation.setSafeAreaInsetsOverride on their own CDP session, and Chromium
drops an earlier session's override at the next navigation once a later
session attaches. A session attached first leaves later overrides intact.

The shared suite's withPage now arms the probe right after newPage(),
before test code runs, and installation is best effort for test doubles,
closed pages, and non-Chromium contexts.
2026-10-01 17:17:23 +00:00
..
docker.md refactor: retire pre-June config and upgrade test support (#156859) 2026-09-23 19:26:23 -07:00
lanes.md test(ui): record renderer stall evidence when Control UI e2e waits fail (#162767) 2026-10-01 17:17:23 +00:00
local.md test: select Node for maintainer tooling fixtures (#162550) 2026-10-01 02:20:15 -07:00
performance.md refactor: remove Tasks and TaskFlow runtime (#159179) 2026-09-27 10:40:29 -07:00
remote-proof.md chore(crabbox): require Crabbox 0.69.0 (#162334) 2026-10-01 03:22:58 +00:00
runner-internals.md fix: reuse prepared test runtimes after source refreshes (#162744) 2026-10-01 16:08:26 +01:00