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_a_line_removed_among_the_words_moves_only_what_layout_moved[card]: lines below move up since #7082 anchors a card's top #7175
tests/journeys/test_floating_box_motion.py::test_a_line_removed_among_the_words_moves_only_what_layout_moved[card-browser] and [card-firefox_browser] fail on Linux and macOS in the scheduled run 45598918111 (118f31f6d), and still fail at 90bc5d55c. The comment cases pass.
{'words 11 "waits waits while wh" in leaf-text.lf-ui >> div.cm-line.lf-face-p y': (618.5, 597.5),
'words 12 "waits" in leaf-text.lf-ui >> div.cm-line.lf-face-p y': (639.5, 618.5)}
When a line is removed among a thread card's draft, the lines below it move up 21px, one line's height. The test expects only what layout moved to move.
Introduced by #7082 (394ed3b2a), "Grow a thread card down as you type in it". Bisecting e7d5808f3..118f31f6d puts the first failure there; the test passes at its parent ceec05404. #7082 makes a card keep its reply box's top still and grow down, where it kept its foot before. So when a line goes, the lines under it now rise in place, where the card's top used to come down instead. That is layout moving them, which the test's card expectation predates. Before updating the expectation, check that the reading the test takes (which lines it says layout moved) holds for the top-anchored card (tests/AGENTS.md, Failing tests).
#7182 updates the test to expect the top-anchored card. I reproduced both card failures on current main (32dc564a8). Every frame-level check other than the waived one still passes for the card, so the card is behaving as #7082 intended, rising lines included, and the expectation was stale. The PR gives the card the comment box's expectation and turns it from a waiver into an assertion: on a box standing on its top, the removal's first frame draws each word where it comes to rest. All six cases pass in Chromium and Firefox. Its CI and landing pass to tend-land.
Activity
leaf-agent commentedon Nov 25, 2026
#7182 updates the test to expect the top-anchored card. I reproduced both
cardfailures on currentmain(32dc564a8). Every frame-level check other than the waived one still passes for the card, so the card is behaving as #7082 intended, rising lines included, and the expectation was stale. The PR gives the card the comment box's expectation and turns it from a waiver into an assertion: on a box standing on its top, the removal's first frame draws each word where it comes to rest. All six cases pass in Chromium and Firefox. Its CI and landing pass to tend-land.