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_second_margin_reply_grows_below_the_first_line: the reply editor rises 4px as it grows since #7329 #7408
tests/journeys/test_render_margin.py::test_a_second_margin_reply_grows_below_the_first_line passes at a5d8c24ec and fails at aedabeeb5 (#7329, "Open the comment box slim wherever it stands, widening away from the edge it stands by"). I bracketed it by running the test by node id on Linux at both commits. It still fails on main at 3fa2e5a17, and it failed on macOS in scheduled run 45985529285 on 21c613f05. Journeys run only in the scheduled suite, so the introducing pull request's CI didn't run it. Apply Reading a red suite in running-tend to the introducing change's intent before choosing whether the test or the code moves.
Deciding error: the editor's top moves from 481 to 477 as the second line grows the reply (({'side': 'below', 'editorTop': 481, 'editorFoot': 523}, {'side': 'below', 'editorTop': 477, 'editorFoot': 540}), assert 477 == 481 ± 0.5). The test holds that a margin reply grows downward from its first line. Since #7329 opens the box slim and widens it from the edge it stands by, the 4 px rise may be the slim box's geometry changing as it widens. The next step is to see whether the rise is the box re-standing when it widens, which would break the promise the test protects, or a new resting offset that the test's reading should allow for.
The test's reading is stale, and the code is fine. #7329's slim card wraps the first message, which makes the card 21 px taller. At the test's 1000×608 window, the draft's second line therefore already meets the window's foot (542 px), and the transcript scrolls 4 px. The card's top and width don't move, so the box isn't re-standing. This is the test's own "bounded" phase, arriving one line early. #7415 gives the test a 640 px window, which keeps both behaviors it checks and keeps #7329's slim card. The test fails at 608 on main and passes at 640 on Linux. Its review and CI are pending, and tend-land handles landing it.
Activity
leaf-agent commentedon Nov 27, 2026
The test's reading is stale, and the code is fine. #7329's slim card wraps the first message, which makes the card 21 px taller. At the test's 1000×608 window, the draft's second line therefore already meets the window's foot (542 px), and the transcript scrolls 4 px. The card's top and width don't move, so the box isn't re-standing. This is the test's own "bounded" phase, arriving one line early. #7415 gives the test a 640 px window, which keeps both behaviors it checks and keeps #7329's slim card. The test fails at 608 on
mainand passes at 640 on Linux. Its review and CI are pending, and tend-land handles landing it.