Repository navigation
test: update six browser tests to the controls #5118 rebuilt by role - #5628
Merged
Merged
Conversation
#5118 made the command reference a listbox whose section headings name groups, moved a margin entry's face (and its arrival animation) to lf-margin-face, gave On me's tab strip room for its tabs' focus ring, and made the board grip a 28px symbol whose touch reach is its ::after. Six browser tests still read the shapes it replaced; each now reads the current one. The two sample-diagnostics tests give the child page room for the leaf's menu, since the tab strip's wider reach now takes the click on a row the 222px frame left out of view. No runtime behaviour changes. Closes #5473
This was referenced Nov 7, 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.
#5118 ("Build every press by a role") turned seven browser tests red on main. Six still fail on main, and each one was expecting a shape that #5118 deliberately replaced. This PR updates those six tests to the shapes #5118 introduced and changes no runtime behaviour. The seventh,
test_an_inline_contribution_name_needs_no_physical_margin, passes on current main, both locally and in push run 42320062138.test_s_aims_at_the_addressable_element_named_by_its_hintaria-hidden, and it names agrouparound each option.groupnamed "In the target picker" instead of a heading.test_stylesheet_motion_inputs_drive_css_and_web_animationslf-margin-face.lf-margin-entryis left as the script hook.lf-margin-face.test_on_me_s_tabs_stand_where_a_view_names_itselftest_a_finger_s_taller_grip_…(renamedtest_a_grip_taller_than_its_title_…)::after, not from its box.board.csscomment is updated to match.test_diagnostics_arrival_inside_sample_stays_in_child_document,test_sample_diagnostics_copy_failure_keeps_a_visible_manual_copy_routemax(0px, …)to at least the focus ring's room.MENU_ROOM).On the last row: a sample's frame takes its child page's height, so these child pages were 222px tall. In both
0888ab9da^and current main, the menu opened inside that frame has a 14px view, and the About this page row sits below the window. Before #5118, Playwright still managed to land a click on the row after scrolling it into view. With the strip's larger reach, the strip now takes that click. The cramped menu inside a short sample is older than #5118. This PR doesn't change it.Verification. All six fail on main at
903e1d106. With this change, those six and the inline-name test pass (uv run pytest --run-main -n2over the seven node ids, 8 passed counting both parametrizations of the inline test).Closes #5473 — automated triage