Skip to content

test: keep the reading journey's last thread message inside the window after #6254's wider gaps - #6307

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-6299
Nov 17, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/issue-6299

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

reading-reply-below needs the notes thread's last message to start below the reading place and inside the 900px window, with the reply box below the window. #6254 widened the gap after each thread message from 16px to 24px. Eight messages sit between the read paragraph and the end of the thread, so that change moved the last message's top to 910px, 10px past the foot, and the case failed its own precondition ({'above': False, 'shown': True, 'below': False}). The layout is doing what #6254 meant it to do, and the case doesn't check the gap. Only the setup crossed a threshold.

The first two follow-up replies in the notes thread are now one line each. The last message now starts at 868px in both Chromium and Firefox, and put_reading's check that the reply box is out of the viewport still passes. That leaves 32px of slack. #6272, still open, changes message ends again.

reading-reply-below-{chromium,firefox} fail on main and pass with this change. All 20 cases at the reading place pass in both engines. The 2 xfails in that selection are the existing diff-reading-deletions markers. No other place uses the notes thread.

Closes #6299 — automated triage

…eading journey

#6254 gave each thread message 24px of room after it instead of 16px. The
reading-reply-below case reads the notes thread's `read` paragraph at the reading
line and needs the thread's last message to start below it inside the 900px
window, with the reply box under the window's foot. Eight messages stand between
the two, so the wider gaps put the last message's top at 910px and the case
failed its precondition. The first two follow-up steps now take one line each,
which puts the last message at 868px in Chromium and Firefox while the reply box
stays off screen. No behavior changes; the layout is as #6254 meant it.

Closes #6299
@leaf-agent
leaf-agent merged commit 8d8e984 into main Nov 17, 2026
6 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-6299 branch November 17, 2026 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test_the_page_holds_still_under_the_user[reading-reply-below]: the thread no longer runs below the window since #6254

1 participant