You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test_visual_review_returns_to_case_feedback_on_phone fails on main since #5496 changed where a comment box seats #5648
Since #5496 (75cd15273, "seat a diff file's comment box inline when the file's end is below the window"), tests/browser/test_render_visual_review_journey.py::test_visual_review_returns_to_case_feedback_on_phone fails on main. The visual review case's comment box never opens inline:
Expect "to_be_focused" locator("#visual-review-run").locator(".lf-vr-case:not([hidden])").locator(".lf-fab-input")
Error: element(s) not found
git bisect run over 6cd5093f3..f8808301f landed on 75cd15273. The test passes at 6cd5093f3 and still fails on main 903e1d106. The first failing push run is 42043615720 at f8808301f, and it still fails in 42320062138.
#5496 changed seatFab so that a seat only scrolled below the window no longer counts as unseen, which brings back a diff file's inline comment box. On a phone in visual review, the case feedback's box no longer appears where the test looks for it, as a focused .lf-fab-input inside the shown case. So the new rule apparently routes this seat differently: either it now opens elsewhere, as floating or in the panel, or it never opens. Check which surface the box opens in at 75cd15273 against what #5496 meant to restore.
Fix is up in #5669. CI and review haven't run yet.
Cause: the case's thread outlet is display: none while its discussion is empty, so seatFab judges the whole .lf-vr-case in its place. On the 390×844 phone that case runs past the bottom bar. Since #5496, a seat any cover crosses is refused (covered), so the box never opened inline. #5669 refuses a stand-in box like that only where a cover crosses it and none of it is seen. Seats with their own box keep #5496's rule, so the diff file's comment below the window still opens inline. The phone test fails on main and passes with the change, and #5496's own test still passes.
Activity
leaf-agent commentedon Nov 7, 2026
Fix is up in #5669. CI and review haven't run yet.
Cause: the case's thread outlet is
display: nonewhile its discussion is empty, soseatFabjudges the whole.lf-vr-casein its place. On the 390×844 phone that case runs past the bottom bar. Since #5496, a seat any cover crosses is refused (covered), so the box never opened inline. #5669 refuses a stand-in box like that only where a cover crosses it and none of it is seen. Seats with their own box keep #5496's rule, so the diff file's comment below the window still opens inline. The phone test fails on main and passes with the change, and #5496's own test still passes.