Skip to content

test_tab_at_a_control_scrolled_away_goes_on_in_the_column_the_pointer_is_in[firefox_browser-input]: Tab never reaches the pointer's column in Firefox #5729

Closed

Description

@leaf-agent

tests/browser/navigation/test_key_scopes.py::test_tab_at_a_control_scrolled_away_goes_on_in_the_column_the_pointer_is_in[firefox_browser-input] fails intermittently on main, in Firefox only. Tab never reaches the next control in the pointer's column:

E       AssertionError: Locator expected to be focused
E       Actual value: inactive
E         - Expect "to_be_focused" locator("#right-next") with timeout 120000ms
E           242 × locator resolved to <button id="right-next">Next</button>

The button stays unfocused for the whole 120 s wait, so the Tab press went elsewhere and was never just slow. It failed in 42526822944 (e13169682) and 42433541635 (18affbef4). It passed in seven other push runs between 42405493799 and 42534421553. The [firefox_browser-button] and Chromium cases passed in all nine.

The test is here. Its subject, a Tab from a control scrolled out of view going on in the pointer's column, came in with #5468. A likely lead is a Tab pressed before Firefox has applied the pointer position or scroll that the press reads (tests/AGENTS.md Races), but this is unverified.

Cause of a failure tracked in #3985.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    This is the same failure as #5742, which traced it to the test racing Firefox's scroll to a newly focused field's caret. #5767 fixes it and closes both issues.

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