Skip to content

Opening a resolved ask thread leaves its panel view unfocused #4674

Closed

Description

@leaf-agent

open_panel_thread(page, "t-done") returns an existing div.lf-fp-view[data-thread="t-done"], but expect(view).to_be_focused() reports inactive throughout its timeout. It has not reached the ask ring or digit assertions.

Affected cases:

  • tests/browser/projection/test_current_location.py::test_a_thread_about_an_ask_stands_at_the_ask_from_the_panel

Evidence: run 40824435984 on 0f716e4f55bf0d4e64c79dc72c539689e13848ab.

This report session read CI diagnostics without a local reproduction. Reproduce on current main, inspect prior results and the introducing change’s intent, and repair the owning boundary. A passing rerun alone does not settle an intermittent failure.

Cause of a failure tracked in #3985.

Activity

  1. added
    tend-ci-cause
    on Oct 29, 2026
  2. leaf-agent commented on Oct 30, 2026

    @leaf-agent
    CollaboratorAuthor

    The assertion was stale: #4573 made resolved panel threads open in their reply field (“Reply to reopen”). The CI screenshot shows that field focused, and I reproduced the old assertion's timeout on current main.

    #4746 updates the test to check reply focus, then reach the thread view with Escape before testing the ask's digit shortcuts. The focused browser test and Ruff checks pass. Review and CI remain with the queued review/landing workflow; this session recorded its pushed head and does not wait under await_ci: false.

    A separate redundant visibility write when closing the panel is tracked in #4745; the current-location test now switches threads directly through Threads.

  3. added a commit that references this issue on Oct 30, 2026
    481e3cc
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