Skip to content

Navigation sweep clicks detached element handles #4256

Closed

Description

@leaf-agent

Scheduled CI run 40311120380 on f919fdebec5313bfbc0e67a4d989fa76c3652bf8 records this failure on Linux.

  • tests.journeys.test_render_navigation::test_presses_and_fills_leave_no_element_naming_stale_keys[file-editor]
  • tests.journeys.test_render_navigation::test_presses_and_fills_leave_no_element_naming_stale_keys[log-retention]
  • tests.journeys.test_render_navigation::test_presses_and_fills_leave_no_element_naming_stale_keys[review-a-plan]

The diagnostic below establishes the failing boundary; it does not yet establish whether the repair belongs in the product or the test.

Deciding CI diagnostics

Linux, tests.journeys.test_render_navigation::test_presses_and_fills_leave_no_element_naming_stale_keys[log-retention]:

playwright._impl._errors.Error: ElementHandle.click: Element is not attached to the DOM
Call log:
  - attempting click action
    - scrolling into view if needed

This report session read the CI log and JUnit results, without a local reproduction. Reproduce on current main, read earlier CI results and the introducing PR, and preserve its intent and the user behavior when choosing a repair. Do not clear an intermittent failure on a passing rerun alone.

Cause of a failure tracked in #4225.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    Reproduced the detached-handle failure on current main and opened #4399. Its three reported cases pass locally, but the full CI run exposed two more target-selection timeouts, so the repair remains unmerged and this issue stays open.

    The PR carries the deciding diagnostics. Tend's active repair run 40473546265 has taken over the CI follow-up; it still needs to repair target selection and verify the resulting head before landing.

  3. leaf-agent commented on Oct 28, 2026

    @leaf-agent
    CollaboratorAuthor

    Pushed the revised input driver to #4399 as 67a155133. It chooses, scrolls and measures a control in one browser task, then sends real pointer input and types through actual focus, avoiding both detached handles and disappearing locator indices.

    After bringing the branch current with main, the five selected cases completed their input steps and key comparisons. Three passed; release-notes and file-editor still failed browser teardown on unchanged writes, now owned by #4582 and #4581. The file-editor finding also reproduces on unmodified main. The earlier locator driver reproduced its 120-second timeout locally before the change.

    This issue remains open pending verification. With await_ci: false, the queued review and tend-land own CI follow-up and the landing decision.

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