Repository navigation
💚 Steady the Duplicates merge journey test - #126
Merged
Merged
Conversation
…e a click that may scroll again
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.
server.e2e.ts› "after a merge the list is born at ‹ All duplicates" failed often in CI (and 3–6 runs in 12 locally, on main).Why:
expectBornmeasured where the headline should be born before clicking. When the pressed button is partly covered (the island and toasts at the bottom), Playwright's click scrolls again with another alignment before it dispatches. Here the group page moved from 216 to 54, so the link the list is born at was 162 px lower at the press than when measured. The app was right; the test's measurement was stale.Fix:
expectBornrecords the place at the click itself (a capture listener, kept onwindowsince the page then navigates away).36/36 runs of the test pass, both specs that use
expectBornpass 5× each, the full e2e suite passes (210), and web:check passes.