Skip to content

Wait for the margin card to rest before double-clicking its message after Back - #7197

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-7196
Nov 25, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/issue-7196

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

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 on p18 beside 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_settled and CARD_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_REST just before the double-click read false in all 6 runs (3 runs × Chromium and Firefox) on the old ordering and true with 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 of test_back_returns_to_the_card_a_later_open_in_panel_left pass.

Refs #7196 — automated triage

…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
@leaf-agent
leaf-agent merged commit c3af67b into main Nov 25, 2026
7 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-7196 branch November 25, 2026 23:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant