Repository navigation
Wait for the margin card to rest before double-clicking its message after Back - #7197
Merged
Merged
Conversation
…fter Back test_a_rewrite_written_in_a_card_back_returned_to_reopens_there double-clicked the first message in the card Back reopened as soon as the card named its thread. The card is still gliding into its seat at that point (probed: CARD_AT_REST is false there in Chromium and Firefox on every run), so under load the double-click landed on p18 beside it, the card closed, and the test timed out. The test now waits for the scroll and the card's motion to settle, as #7126 did for the Open in panel click earlier in the same test. No product behavior changes. Refs #7196
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_a_rewrite_written_in_a_card_back_returned_to_reopens_there[browser]double-clicked the first message in the card Back reopens as soon as the card named its thread. The card is still gliding into its seat at that moment, so in run 45706289846 the double-click landed onp18beside it ("subtree intercepts pointer events"), the card closed ("element is not visible" for the rest of the 120 s timeout), and the test failed. The test now waits for the scroll and the card's motion to settle (scroll_settledandCARD_AT_REST) before the double-click, as #7126 did for the Open in panel click earlier in the same test. This changes the test only; the glide is the card's designed motion, as #7124's diagnosis found.Verification: a probe evaluating
CARD_AT_RESTjust before the double-click readfalsein all 6 runs (3 runs × Chromium and Firefox) on the old ordering andtruewith the wait added. The original timeout didn't reproduce locally, so the evidence is the ordering rather than a before-and-after failure. Both engines of this test and oftest_back_returns_to_the_card_a_later_open_in_panel_leftpass.Refs #7196 — automated triage