Skip to content

test: read the seated reply's body, not its reactions, after the panel takes its widget - #5577

Merged
max-sixty merged 1 commit into
mainfrom
fix/issue-5491
Nov 6, 2026
Merged

max-sixty merged 1 commit into
mainfrom
fix/issue-5491

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

#5280 removed the outlet-only condition on reactions in threadReading, so every thread surface now draws a message's reactions, the page's seat included. That follows the change's intent ("the option is gone") and thread-card.js's header, which says a reading decides nothing by its surface. test_a_seated_reply_lends_its_widget_to_the_panel_and_takes_it_back read the whole seated .lf-msg and expected its text to end with the reply's words, so the strip's glyphs (👍 ❌ 🤔 ✂️ 🔎 🎯) after them failed it.

The test now reads the seat's .lf-msg-body alone. The reply's widget is drawn inside that body and the reaction strip outside it (browser/runtime/thread/messages.js), so the assertion still fails if the seat keeps the widget while the panel shows the thread. No behavior moves: the test now accepts the reactions #5280 meant to draw.

The test failed on main (e99fc3aa6) with the issue's message and passes with this change (uv run pytest --run-main on the node id).

Closes #5491 — automated triage

…l takes its widget

#5280 gave every thread surface a message's reactions, so the seat now
draws a reaction strip beside the reply's body. The test read the whole
seated message and expected it to end with the reply's words, which the
strip's glyphs now follow. It reads the body alone, which still holds the
widget whenever the seat keeps it.

Closes #5491
@max-sixty
max-sixty merged commit cb49ffb into main Nov 6, 2026
6 checks passed
@max-sixty
max-sixty deleted the fix/issue-5491 branch November 6, 2026 00:14
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_a_seated_reply_lends_its_widget_to_the_panel_and_takes_it_back fails on main since #5280

2 participants