Repository navigation
test: drop the phone-width case from the offscreen thread card arrival test - #5357
Merged
Merged
Conversation
…l test #5039 opens a thread in the floating panel on a window too narrow for the rail, so pressing t at 390px never draws a margin card and the case waited for one forever. The test keeps both arrival directions on a wide window, where the card is the thread's surface; the panel route on a phone has its own tests. Closes #5146
Collaborator
Author
|
Merged at |
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.
#5039 made the floating panel the only thread surface on a window too narrow for the rail (958px with Leaf's theme): every route into a thread there,
tincluded, opens the panel and no margin card is drawn.test_an_offscreen_thread_card_arrives_with_its_anchor[above-or-below-up]still pressedtat 390px and waited for.lf-margin-preview, so it failed on Linux and macOS in scheduled run 41432142330; the aria snapshot there shows the thread open in the panel dialog, as #5039 intended.The test now runs both arrival directions (down and up) on a 1440px window, where the card is the thread's surface, so the upward arrival the phone case covered keeps its coverage. Nothing in the product changes. The phone route into the panel is covered by #5039's own tests, such as
test_walking_to_an_obligation_on_a_phone_continues_its_discussion_in_the_panel.Verified locally: the
above-or-below-upcase fails onmain; both new cases pass.Closes #5146 — automated triage