You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Draw, Design and touch-capture tests fail on main since #5630 replaced the modes' exit button with the field's Close #5702
Three browser tests fail on main since #5630 (f438a9e2a, "Offer each moment's next press at the panel field's end"). Each passes at its parent 34195d260 and fails at f438a9e2a locally with uv run pytest --run-main. A git bisect run over 903e1d106..ec2799b1d on the first two landed on f438a9e2a. All three failed in each push run from 42366786261 (ec2799b1d) through 42452611077 (957cb8820), and the first two also fail locally on main 7bbf42933.
tests/browser/test_render_drawing.py::test_draw_mode_leaves_chrome_controls_usable: get_by_role("button", name="Exit Draw mode") is not found after w.
tests/browser/test_render_aim.py::test_design_mode_leaves_the_chrome_working: Locator.hover: Timeout … waiting for get_by_role("button", name="Exit Design mode") after l.
#5630 meant Draw and Design mode to show Closeesc at the panel field's end in place of the seat's ✕, and its Decisions say Close ends every stance, region capture included. So these three tests probably still look for the ✕ that #5630 replaced on purpose. On main, drawing.js and design.js still say "Exit Draw mode leaves." / "Exit Design mode leaves." on a coarse pointer, and region-selector.js still titles a row "Cancel capture". So the hint text, and maybe the touch route, may name a control that is gone. That needs checking before only the tests change. #5630 edited test_render_drawing.py, but its test job runs only the browser tests whose source it edits, so these three first ran on main.
Fix in #5732: the three tests now leave each stance by the panel field's Close, which #5630 put where the ✕ used to be. All three fail on main 2f47830e4 and pass with the change locally under --run-main. The PR's CI is green at ddd85a03e. Its review recorded that head for landing, and a tend-land run is now handling the merge.
The capture test also pressed Enter on the ✕, and that step is gone. #5630 gives the field's press tabindex="-1" on purpose (composing/input.js, pressAtRest) and makes Escape its keyboard route, which the test still checks. The touch route works: the tests tap Close and it ends capture.
On the hint text: the coarse-pointer hints still say "Exit Draw mode leaves." / "Exit Design mode leaves.", and #5630's own journey test asserts that wording. The ✕ still appears when the field quotes a selection, but at rest the way out is Close. #5732 leaves the wording to the #5630 author.
Activity
leaf-agent commentedon Nov 9, 2026
Fix in #5732: the three tests now leave each stance by the panel field's Close, which #5630 put where the ✕ used to be. All three fail on main
2f47830e4and pass with the change locally under--run-main. The PR's CI is green atddd85a03e. Its review recorded that head for landing, and atend-landrun is now handling the merge.The capture test also pressed Enter on the ✕, and that step is gone. #5630 gives the field's press
tabindex="-1"on purpose (composing/input.js,pressAtRest) and makes Escape its keyboard route, which the test still checks. The touch route works: the tests tap Close and it ends capture.On the hint text: the coarse-pointer hints still say "Exit Draw mode leaves." / "Exit Design mode leaves.", and #5630's own journey test asserts that wording. The ✕ still appears when the field quotes a selection, but at rest the way out is Close. #5732 leaves the wording to the #5630 author.