Skip to content

On me reading-position test fails its initial obligation focus assertion #4367

Closed

Description

@leaf-agent

Push CI run 40452531123, on b1fdabcb46398e8f818177d1b1ec30a0ed1f0c83, fails tests/browser/projection/test_reading_position.py::test_obligation_repaints_keep_the_on_me_view_s_reading at its first focus assertion.

After constructing 30 lf-ask frames containing choice widgets and resizing to 1200×900, the test presses m and expects #ask-1 to be focused. Playwright reports inactive throughout its 120-second expectation. The element exists and its accessibility snapshot contains the question heading, two checkboxes and Another option field. The test never reaches the obligation repaint or reading-position checks, so this diagnostic does not establish a reading-position regression.

The same case passed in preceding push run 40448023036. This report session read both logs without a local reproduction. Establish where focus actually lands on current main and whether the expectation or navigation changed; read the introducing change's intent before choosing a repair. A passing rerun alone does not clear an intermittent failure. #4247 concerns a different case's null click exception; this run prints no such exception for this case, so a common cause has not been established.

Cause of a failure tracked in #3985.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    #4368 corrects the stale focus expectation. #4332 intentionally changed m with no focused location to enter the visible obligation, and the failure screenshot shows Question 0 focused. This test still expected Question 1.

    The original case reproduced the reported failure locally; with the expectation changed to Question 0, the full case passed, including the panel repaint and resize scroll-retention assertions. Every gating CI check passed on 3cb6c80d6e0d0a0bba0e1143d76676cd32b548a8. The independent Tend review completed successfully, and the active tend-land workflow owns the remaining merge. No runtime behavior changed.

  3. added a commit that references this issue on Oct 27, 2026
    74c4fce
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