Repository navigation
test: leave the armed-cursor test's Design mode by its own key - #6446
Merged
Merged
Conversation
test_an_armed_page_shows_each_place_the_cursor_its_press_keeps[firefox_browser] failed in the Nov 17 and Nov 18 macOS nightlies, reading a hand on the draft's item at rest (['pointer', 'pointer']). It left Design mode with one Escape after resting the pointer on each place in turn. On a slow machine the rest on the link outlasts the preview's 200 ms dwell, the link's preview shows, and it still stands when Escape arrives, so Escape puts the preview away, as the keyboard contract says, and Design mode stays on. The ⌥-click that follows then takes the draft's item in Design mode, whose hand stays after ⌥ comes up. The page does what it should; the test assumed no preview stood. The test now waits for Design mode to stand after `l`, leaves it with `l`, which puts a preview away and leaves the mode in one press, and waits for it to end.
leaf-agent
previously approved these changes
Nov 19, 2026
leaf-agent
approved these changes
Nov 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
test_an_armed_page_shows_each_place_the_cursor_its_press_keeps[firefox_browser]failed in the Nov 17 and Nov 18 macOS nightlies, reading a hand on the draft's item at rest (['pointer', 'pointer']). The test left Design mode with one Escape after resting the pointer on each place in turn. On a slow machine the rest on the link outlasts the preview's 200 ms dwell, so the link's preview shows, and it still stands when Escape arrives. Escape puts the preview away, asbrowser/runtime/keyboard/AGENTS.md("Escape") says it should, and Design mode stays on. The ⌥-click that follows takes the draft's item in Design mode, whose hand stays after ⌥ comes up. The page does what the contract says; the test assumed no preview stood.The test now waits for Design mode to stand after
l, leaves it withl, which puts a preview away and leaves the mode in one press, and waits for it to end.Evidence:
test_a_preview_covers_no_neighbour_and_takes_the_pointer_in_a_modal[firefox_browser]in 3 of 4, which passed 4 of 4 on main before today's later merges, andtest_the_comment_box_comes_back_to_where_its_passage_starts[firefox_browser]in 1 of 4, on a Firefox module-load warning with the runner's address held.Refs #6303.