Repository navigation
Press the sent thread card's Resolve in place in the margin seats test - #6594
Merged
Merged
Conversation
…'s scroll The test pressed Resolve with `locator.click()`. Chromium 156+ scrolls the document while preparing that click on the anchored, fixed thread card even with Resolve in view, the card follows the scroll a frame later, and the click lands on the page under the old point. That press dismisses the card, so the retries find it inert and then gone. `press_visible` presses the control where it stands, as other tests of fixed controls already do. This removes one of the test's two failure modes. The other, the sent card standing wholly below the window because it adopted a misread comment-box rect, stays open in the cause issue. Refs #6591
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_pass_for_a_change_to_the_rows_seats_them_as_a_whole_pass_wouldfails in two ways after a comment is sent from a selection. This PR removes the more frequent one.locator.click()on the sent card's Resolve makes Chromium scroll the document by about 444 px, even though Resolve is already in view (y 844–872 in a 900 px window). The anchored card follows that scroll a frame or two later. Playwright clicks the old point, which by then is the page's heading or article, and that press dismisses the card. That matches the reported call log: "article intercepts pointer events", then "element is inert", then "not visible" until the timeout. The test now presses throughpress_visible(tests/render_harness.py), which exists for this Chromium behavior and clicks the control where it stands.Under
leaf-dev suite flake <node> --cpu-throttle 8, main failed 7/18 and 5/16 copies with that signature. With this change, 3 of 18 copies still fail, all atpress_visible'sto_be_in_viewport, and none show the scroll signature. Those three are the second failure mode, which #6591 keeps open. In some copies, the frame the comment box hands its card at Send (floating-response.js, read from the field'sgetBoundingClientRect()) reads the box 297 px below where it paints, with the same inline style, no running animation and the samescrollY. The card adopts that offset (comment-placement.js,initialHold) and stands wholly below the window until a later scroll re-places it. That's a runtime bug I haven't explained yet.The issue's lead,
fitOpenedin #6557, is ruled out. Restoring its old unconditionalfitting = falsestill failed 4/18.Refs #6591 — automated triage