Repository navigation
test: give the aim test's spoken-control section its own heading - #5666
Merged
Merged
Conversation
The "a control's name is its own" subtest checks that a field's design label borrows no neighbouring control's words. Its section had no heading, so the label's context came from main's leading <h1> until #5506 stopped that climb; since then the unnamed section is named by its own words, the close button's × included, and the assertion fails. The test this case came from (b91b966) gave the section a heading of its own, which #5409 dropped when it merged the case into CONTROL_SHAPES. Restoring a heading keeps the assertion about the control's own label and #5506's naming as it is. No product behavior changes. Closes #5645
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_design_mode_reads_each_shape_of_control_into_the_anchor_its_routes_carryhas failed on main since #5506. Its "a control's name is its own" subtest asserts that a field's design label carries no neighbouring control's words. Thespokensection had no heading, so the label'ssection:context came frommain's leading<h1>Settings</h1>, the climb #5506 deliberately stopped. Since then the unnamed section is named by its own words,Find settings ×, and the close button's×reaches the field's label through the section's name, not the field's.The test this case came from (
test_design_spoken_context_does_not_borrow_a_neighbours_face, added in b91b966) gave the section its own<h2>. #5409 dropped it when it merged the case intoCONTROL_SHAPES, and the subtest kept passing only because of the #5228 bug that #5506 fixed. This restores a heading on the section, so the assertion is again about the control's own label, and #5506's naming stays as it is. No product behavior changes, andCONTROL_SHAPEShas no other reader.Verification. The test fails on main
bdc4c03b0with the issue's message and passes with this change (35 subtests).The issue's second test,
test_render_gate.py::test_scrollbar_clearance_reads_generic_content_and_open_shadow_words, already passes onbdc4c03b0with no change here. That fits #5662, which stopped the resting comment box from standing beside a target that ends short of the column's edge, so the box'saria-labelno longer collides with theFirst choicerole query.test_an_expanded_diff_file_can_retry_its_failed_chunk_in_placestays with #5641.Closes #5645 — automated triage