Skip to content

Design comment editor covers its Send button #4823

Closed

Description

@leaf-agent

The stable .lf-fab-bar .lf-compose-submit button cannot be clicked because the leaf-text comment editor intercepts pointer events. This fails before the revision/identity assertions. Preserve a pressable pointer Send route and read #4714’s composer intent before choosing the repair.

These failures were left unowned in the previous diagnosis of #3985 (through run 41014020492). Newer evidence below is from the recorded CI logs, without local reproduction. Establish current-main behavior and the introducing change’s intent before choosing a repair.

Observed run 41173628729:

FAILED tests/browser/widgets/test_playgrounds.py::test_built_code_reader_design_comment_keeps_its_identity_after_revision - playwright._impl._errors.TimeoutError: Locator.click: Timeout 120000ms exceeded.
Call log:
  - waiting for locator(".lf-fab-bar .lf-compose-submit")
    - locator resolved to <button type="button" data-lf-gen="1" aria-label="Comment" aria-disabled="false" data-lf-offer="button" title="Comment (⏎) · Shift+⏎ new line" class=" lf-compose-submit lf-ui lf-ui-face">…</button>
  - attempting click action
    2 × waiting for element to be visible, enabled and stable
      - element is visible, enabled and stable
      - scrolling into view if needed
      - done scrolling
      - <leaf-text tabindex="0" name="comment" role="textbox" data-lf-focus="" aria-multiline="true" data-lf-focus-within="" data-lf-focus-visible="" placeholder="About the layer ⏎" data-lf-focus-visible-within="" aria-describedby="lf-composer-quote" class="lf-ui lf-response-control lf-fab-input scroll" aria-keyshortcuts="Enter Meta+Enter Control+Enter Tab" aria-label="Comment on design · heading · target-reader-heading">…</leaf-text> intercepts pointer events
    - retrying click action
    - waiting 20ms
    2 × waiting for element to be visible, enabled and stable
      - element is visible, enabled and stable
      - scrolling into view if needed
      - done scrolling
      - <leaf-text tabindex="0" name="comment" role="textbox" data-lf-focus="" aria-multiline="true" data-lf-focus-within="" data-lf-focus-visible="" placeholder="About the layer ⏎" data-lf-focus-visible-within="" aria-describedby="lf-composer-quote" class="lf-ui lf-response-control lf-fab-input scroll" aria-keyshortcuts="Enter Meta+Enter Control+Enter Tab" aria-label="Comment on design · heading · target-reader-heading">…</leaf-text> intercepts pointer events
    - retrying click action
      - waiting 100ms
    225 × waiting for element to be visible, enabled and stable
        - element is visible, enabled and stable
        - scrolling into view if needed

Cause of a failure tracked in #3985.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    #4835 repairs the test while preserving #4714's pointer Send interaction. I reproduced the timeout on current main: the click waits for pointer actionability before moving into the corner, but Send needs that pointer arrival and rest to arm over the draft text. Moving there first and waiting for the armed state lets the ordinary click send; the revision and design-anchor identity assertions then pass.

    The focused test passed locally. The fix is pushed, with review and CI landing owned by the queued review and tend-land workflows; this session does not wait for CI because 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