Skip to content

Keyed shadow-row test cannot find its initial slotted Draft editor #4384

Closed

Description

@leaf-agent

Push CI run 40459654718, on 11c033c1d28de7e4869b0af9d87acbf767da998c, fails tests/browser/test_render_application_boundary.py::test_keyed_shadow_row_restores_replaced_slotted_editor_and_caret.

The initial editor.fill("half a thought") times out after 120 seconds waiting for get_by_role("textbox", name="Draft", exact=True). It never reaches editor replacement or caret assertions. The traceback shows the fixture appending the light-DOM editor before calling shadowStage(this, [this.scope]). That ordering is a lead, not a reproduced cause; establish the current shadowStage contract and the introducing change before choosing a repair.

The same case passed in preceding push run 40452531123. This report session read both CI logs without a local reproduction. Reproduce on current main, inspect earlier JUnit results and the introducing PR, and preserve its intent and the user behavior when choosing the repair. A passing rerun alone does not clear an intermittent failure.

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

    Fixed and merged in #4392. #3885 intentionally made shadowStage clear the host's light children; this fixture still appended its slotted editor before staging, so setup removed the field before typing began. The fixture now appends it after staging, preserving that cleanup contract and all existing draft, focus, and backward caret-selection assertions.

    The reported test reproduced the initial 120-second timeout on main and passed after the setup correction. PR CI and review passed on the exact fix commit before merge.

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