Skip to content

Threads keyboard test expects focus on an inactive view #4161

Closed

Description

@leaf-agent

tests/browser/test_render_floating_panel.py::test_keys_in_threads_act_on_threads fails its initial expect(view).to_be_focused() after threads_rows(page), before exercising /, d or u. The Threads view exists but remains inactive for the 120-second assertion. The accessibility snapshot contains the expected thread buttons.

#4144 added quiet: true to the Threads view and changed its pointer route through On me tabs. Its diff is a lead, not proof of why focus remains elsewhere. Establish the intended focus destination and preserve keyboard search and paging through the supported opening route.

Observed in CI run 40243299512, on f247705866dc4ff933d4e6fd75f3a013e1591a8a. Each named case passed in preceding push run 40239444423; that does not rule out intermittency. This report session read CI diagnostics and preceding junit results, without local reproduction. Check current main before repairing.

Cause of a failure tracked in #3985.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    Fixed in #4167, now merged with CI green. #4144 intentionally left focus on the Threads tab after a pointer switch; the keyboard test was still expecting focus on the list. It now enters via g T and retains its list-focus, d/u paging, document-scroll and / search assertions. The original failure reproduced on main; the repaired test and three adjacent browser tests passed locally.

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