Status: done (2026-11-23)
Priority: 1
Size: S
Design ref: docs/testing.md; tests/browser.js line 384
Goal: tests/browser.js is green again
Acceptance criteria:
Noted by VB-1589, 23 November 2026.
Notes, 23 November 2026 (VB-1593):
- The cause, line 384: the test asked for the button where it is not due. The played household has a field project under way, begun by
its head’s rule (the “clear” the action bar queues earlier in the test is its step), and the card then offers “Give it up” in place of
the three to begin: the page is right. The test now gives the project up first, by that button, and checks the card did not offer both.
- Main was already red: 3adf683 (before VB-1581) fails at the same line 384. VB-1581 did not break it. The commit on main that first
made it red was not bisected further (each run is a browser run; the cause is in the test, not in a commit’s page change).
- A second, load-dependent failure found on 60313bc and on the run branch (“the job was not queued”, then a timeout at line 272): the
action list is redrawn four times a second, so under load the row seen at 30x was stale once the clock stood. The test now waits for
the list drawn from the stopped state and runs on if the row has gone. Passed alone and three copies side by side.
- Decision (close call): mended in the test only, no change under src/; no step dropped, two checks added.