Repository navigation
test: update four tests to thread holders, labelledby names, full-measure cards and acked undo - #6046
Merged
Merged
Conversation
…sure cards and acked undo Scheduled run 43706054091 failed four tests whose expectations predate a merged change: - test_interact_anchors: #5961 added `holder` to each thread record of `page state`; the two agent-reply journeys now expect it. - test_complete_views_restore_native_values_in_wrapped_layouts: #6040 names a playground control by aria-labelledby, so the journey finds the Title field by its role and name rather than an aria-label attribute. - test_strokes_join_one_drawing_until_it_is_sent_and_escape_leaves: #5846 opens the comment box and thread card at the full measure, and both now cover the figure where the test began its strokes. Those strokes start at the figure's left edge, still over another element. - test_resolving_a_thread_from_threads_moves_on_to_the_next (macOS): `z` pressed as the Resolve was acked, before the page held the server's reading (#5941's mechanism); it now uses `undo(page)`. No product behavior changes. Refs #4225
This was referenced Nov 15, 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.
Four tests in scheduled run 43706054091 still expect what the page did before a merged change. Each change moved the interface on purpose, and this PR updates the tests to the new behavior. No product code changes.
test_an_agent_reply_can_move_a_thread_to_its_revised_visual,test_an_agent_reply_can_remove_a_subject_and_detach_its_open_thread(both platforms): Let a fork of the conversation do a thread's work in its own turn, behind LEAF_FORK_WORK #5961 addedholderto each thread record inpage stateand updated the model tests, but not these journeys. They now expect"holder": {"kind": "main"}.test_complete_views_restore_native_values_in_wrapped_layouts[1200|390](both platforms): Name a playground's controls by the words beside them, so their preview doesn't repeat those words #6040 names a playground control witharia-labelledby(the textbox is still named "Title"). The test looked forinput[aria-label="Title"], which no longer matches, so it now usesget_by_role("textbox", name="Title")like the rest of the test. Move 142 tests over their tier's time budget in two daily runs to daily journeys #6038 moved this test into the journeys tier, so Name a playground's controls by the words beside them, so their preview doesn't repeat those words #6040's own CI didn't run it.test_strokes_join_one_drawing_until_it_is_sent_and_escape_leaves(both platforms):git bisectnames Open every thread card at the full measure, and add leaf-dev placements, a gallery of thread cards by configuration #5846 as the first bad commit. That change opens the comment box and the sent thread's card at the full measure. In the test's window, the box (x 382–946) and then the card (x 368–960) cover#fig, where the test's strokes began. The press landed on the box's text field, so no second stroke was drawn. The two strokes over the figure now start at its left edge (x ≈ 262–348). They still begin over another element, which is what the test checks.test_resolving_a_thread_from_threads_moves_on_to_the_next(macOS only): it pressedzas soon as the Resolve was acked, before the page held the server's reading. That's Seven macOS browser tests: an acked thread stays pending in the tab, so readThreads lacks it and z sends no undo #5941's mechanism, which test: wait for the server's reading of a send before reading what only it decides #5943 fixed in the sibling tests. It now usesundo(page), which waits until the dispatcher would takez.Verification. On main (
9f3c6590b), the five Linux-reproducible cases fail before this change and pass after it. The edited modules pass in full, along withtests/model/test_suite_source.py: 1,225 passed. The resolve test passes on Linux both before and after. Its macOS evidence is the next scheduledtest-macosrun.This leaves the run's other new failures to their own owners. Those are listed on #4225.
Refs #4225 — automated triage