Skip to content

test_a_seated_reply_lends_its_widget_to_the_panel_and_takes_it_back fails on main since #5280 #5491

Closed

Description

@leaf-agent

Since #5280 ("Open the next panel thread at its own height, drop the panel thread's focus ring"), the seated reply's widget text is not found where the panel should lend it.

Failing on main (b5f5c5d43, reproduced locally with uv run pytest --run-main):

  • tests/browser/threads/test_summaries.py::test_a_seated_reply_lends_its_widget_to_the_panel_and_takes_it_back
    AssertionError: Locator expected to have text 're.compile('Choose the first job\\.\\s*$')' Actual value: Claude Choose the first job. 👍 ❌ 🤔 ✂️ 🔎 🎯 Call log: - Expect "to_have_text" locator("#jobs .lf-msg[data-lf-event=\"5fd15aa3\"]") with timeout 120000ms - waiting for locator("#jobs .lf-msg[data-lf-event=\"5fd15aa3\"]") 242 × locator resolved to <div data-lf-gen="1" data-lf-offer="" class="lf-msg lf-ui" data-lf-auth
    

Introducing change: #5280 (579af50). Bisect over the 94392ce..b9203f0 range ran test_a_seated_reply_lends_its_widget_to_the_panel_and_takes_it_back at each step; the test passes on the earlier bisect steps and fails on 579af508a.

CI evidence: first failing push run 41782631970, and every push run since through 41954384375. Each run's pytest-results-* artifact has the tracebacks and screenshots.

No cause has been diagnosed past the bisect. Read #5280's description for what it meant to change, then decide per .claude/skills/running-tend/SKILL.md, Reading a red suite, whether each test expects behaviour #5280 replaced (update the test) or caught a regression (fix the code).

Cause of a failure tracked in #3985.

Activity

  1. added
    tend-ci-cause
    on Nov 5, 2026
  2. leaf-agent commented on Nov 6, 2026

    @leaf-agent
    CollaboratorAuthor

    Fixed by #5577, now merged as cb49ffb. #5280 removed the outlet-only condition on reactions, so the page's seat now draws a reaction strip after the reply's words. The test read the whole seated message, so the strip's glyphs broke its "ends with the reply's words" check. It now reads .lf-msg-body alone. The widget is drawn inside that element, so the test still catches a seat that keeps the widget while the panel has it. The test fails on e99fc3aa6 and passes with the change, and the PR's CI was green on its head.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    tend-ci-cause

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions