Repository navigation
test(browser): wait out an element swap, look again for a new window, and report a long press that lifts nothing - #4448
Conversation
… and report a long press that lifts nothing Co-Authored-By: Claude Fable 5.2 <[email protected]>
|
No actionable comments were generated in the recent review. Summary
Merge Risk:
|
|
Merged through |
What
Three changes to browser scripts, none to the product.
1.
scripts/ui-regression.ts:AssertionError: .chat-transcriptA flaky pass that fails the
ui-regressionjob, since the script is not quarantined: three times in #4026's table for 2026-11-20/21, and again in run 44934012378 (#4426)..chat-transcript. Pane A has no conversation, so its first answer takes that element out of the page and puts the notice's own.chat-transcriptin.laneColumn()waited for the selector and then read its box: a read that fell between the two got the removed element's box,null.div.legend-list-content-container.chat-transcript, no longer connected, its boxnull, and the page's.chat-transcriptwas another element..chat-unavailable-reasonbefore it measures; nothing on this path replaces the transcript after it. A person sees an empty column, then the notice: nothing is wrong in the app.2.
scripts/notification-startup-regression.ts: line 105 waited 30 sOnce, in run 44896262146 (as part of
ui-contexts-regression).openWindowlooked for the new page among the worker's clients once and threw when it was not there. A page that has just committed can be missing fromclients.matchAllfor a moment (the browser's ownopenWindowwaits for it; the stand-in did not). The throw was reported to nobody, so the driver page waited for an answer that never came.probe-errorwith the windows it saw; the script fails at once on such a message.Bun.serve() timed out a request after 10 secondswarning in that log. With the app's script held 13 s the unchanged check still passes, so the proxy keeps its default.3.
scripts/workspace-touch-reorder-demo-regression.ts: a long press that lifts nothing (#4343)Cause unknown; quarantined until 2026-12-20. The issue's next step was a report for when the 5 s wait for the lift times out.
strokenow arms a small probe before the press: what was under the finger and which overlays were open before the press and at the timeout, the lifted rows, the list's scroll position, whether the pressed row is still in the page, and each touch, cancel, context menu and list scroll in between with what it landed on. It only reads the page, and removes its listeners after every press.Forced once (the wait pointed at a class that never exists), the error read:
a long press at 133,82 lifted no row: {"point":"133,82","before":{"hit":"span.workspace-copy < div.pane-select.workspace-select < div.workspace-header","overlays":[],…},"atTimeout":{"hit":"span.droplet-title < span.droplet-text < button.droplet-card","overlays":["div.droplet(in)"],"lifted":["w1C"],…},"pressedRowStillInPage":true,"events":["4ms touchstart span.workspace-copy < …"]}. In that run the demo's droplet arrived over the pressed point about three seconds into the hold: a candidate for #4343 if it can land betweenstroke's dismissal and the touch, which the next real failure will say.Validation
bun run check fast: passed (22,319 unit tests, typecheck, build).ui-regression.ts(53 PASS lines),ui-contexts-regression.ts(63),workspace-touch-reorder-demo-regression.ts(11), in a herdr test session of this run's own. In the PC's shared test sessionui-regression.tsstopped four times at an earlier step (Tab reaches the other pane's option), with other sessions' workspaces in the palette; that is this PC's state, not CI's.Refs #4343, #4026. No changelog fragment: nothing a user of the app notices.
🤖 Generated with Claude Code