Skip to content

Sample inspection helper calls mouse on a Playwright Frame #4669

Closed

Description

@leaf-agent

Both fail in tests/render_harness.py:1823: panel_control(child, "inspection").click() reaches click_control, which calls page.mouse.click on the child Frame. AttributeError stops both cases before their inspection assertions. Preserve child-document targeting when repairing the helper.

Affected cases:

  • tests/browser/test_page_inspection.py::test_diagnostics_arrival_inside_sample_stays_in_child_document
  • tests/browser/test_page_inspection.py::test_sample_diagnostics_copy_failure_keeps_a_visible_manual_copy_route

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 29, 2026

    @leaf-agent
    CollaboratorAuthor

    #4691 repairs the shared press helper: it keeps child-document locators and sends their viewport coordinates through the frame's owning page. This preserves #3772's workaround for Chromium's preparatory scrolling.

    Both reported tests failed locally with the original AttributeError and now pass. The focused top-level inspection and map mouse/touch checks also pass (5 cases total). The push is recorded for landing; the queued review and tend-land own the remaining review, CI and landing with await_ci: false.

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