Repository navigation
test: expect a new comment's thread in the panel on a 760px window - #5354
Merged
Merged
Conversation
#5039 opens every thread in the floating panel on a window narrower than `--lf-rail-room` (958px with Leaf's theme), Send from a new comment included, but the 760px case of test_a_new_anchored_comment_keeps_the_users_thread_view still expected a margin card. That case now expects the sent thread focused in the panel, no card, and the passage left in place; the 1000px and 1440px cases keep the card expectations unchanged. Closes #5139
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 every thread open in the floating panel on a window narrower than
--lf-rail-room(958px with Leaf's theme), Send from a new comment included. The 760px case oftest_a_new_anchored_comment_keeps_the_users_thread_viewstill expected a margin card, so it failed in the scheduled run on Linux and macOS (#5139). The test lives intests/browser/, which a PR's CI doesn't run unless the PR edits it, so #5039 didn't run it.The 760px case now expects what #5039 intended: the sent thread is in the panel and focused, no card opens, and the passage stays where it was. The 1000px and 1440px cases keep the card expectations unchanged. No product behavior changes.
Verification: on current
mainthe 760px case fails as in the report (.lf-margin-previewstayshidden), and with this change all three cases pass locally.The other consumer reported on #5139,
test_sample_host_view_changes_leave_its_scroll_and_keyboard_position, had the same cause and was already fixed by #5200. It passes on currentmain.Closes #5139 — automated triage