Repository navigation
test: open the On me grouping tests' window tall enough to show each stop above the view - #5587
Merged
Merged
Conversation
…stop above the view Since #5468, a key at focus the user can't see lets go of it and acts from what they read. In both tests the page fit the 900px window, so `m` landed the Rollout ask under the open On me view with no room to scroll it clear, and the next `m` stepped from the reading position, wrapping to the first Options card instead of reaching the thread's Reply. A 1400px window lands every stop above the view, so the tests read the grouping and walk order they protect again. The walk's behavior on a page too short to uncover a stop is #5586. Closes #5534
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.
Two On me grouping tests have failed on main since #5468 (bisected from #5331's passing head to
b5f5c5d43). #5468 made a key pressed at focus the user can't see let go of it and act from what they read. Both tests' page fits a 1440×900 window, so the walk's secondmlands the Rollout ask (y 506–643) under the open On me view (y 381–802), with no room to scroll it clear. The nextmthen lets go and steps from the reading position, wrapping to the first Options card instead of reaching the thread's Reply. Both tests now open a 1400px-tall window, which puts every stop above the view, so they go back to checking the grouping and walk order they cover.This changes only the test setup, and the tests' assertions and #5468's rule stay as they are. A short page still walks round a subset of the list while the view covers a stop, as it does on main now. That is a product question for #5586: give the body end room for the open view, count a stop the walk just reached as the user's place, or accept the behavior.
Verified locally: both tests fail on
main(d133d573a) with the errors in #5534 and pass on this branch, three runs before the rebase and one after it.Closes #5534 — automated triage