Skip to content

Panel thread helpers try to click a hidden On me control #4753

Closed

Description

@leaf-agent

Four cases time out inside panel thread-opening helpers on .lf-fp-on-user. The node exists, but Playwright repeatedly reports it is not visible. These operations fail before the later key-surface, quote and rejected-state assertions. Establish the supported route for opening the thread and whether the helper or the control is wrong; do not discard those downstream behavioral checks.

Evidence: run 41014020492.

Affected cases and deciding diagnostics:

____________________ test_a_field_names_no_key_to_a_finger _____________________
>       open_panel_thread(page, thread)
>           raise rewrite_error(error, f"{parsed_st['apiName']}: {error}") from None
E           playwright._impl._errors.TimeoutError: Locator.click: Timeout 120000ms exceeded.
E             - waiting for locator(".lf-fp-on-user")

____________ test_a_quote_finds_its_passage_whatever_its_whitespace ____________
>       assert len(stranded_quotes(page)) == 1, (
>           raise rewrite_error(error, f"{parsed_st['apiName']}: {error}") from None
E           playwright._impl._errors.TimeoutError: Locator.click: Timeout 120000ms exceeded.
E             - waiting for locator(".lf-fp-on-user")

_ test_an_ambiguous_revised_passage_keeps_its_section_until_the_agent_moves_it _
>       quote = thread_quote(page, root["id"])
>           raise rewrite_error(error, f"{parsed_st['apiName']}: {error}") from None
E           playwright._impl._errors.TimeoutError: Locator.click: Timeout 120000ms exceeded.
E             - waiting for locator(".lf-fp-on-user")

_______ test_a_reply_notice_survives_a_failed_state_and_keeps_its_agent ________
>       view = open_panel_thread(page, root["id"])
>           raise rewrite_error(error, f"{parsed_st['apiName']}: {error}") from None
E           playwright._impl._errors.TimeoutError: Locator.click: Timeout 120000ms exceeded.
E             - waiting for locator(".lf-fp-on-user")

This report session read CI evidence and did not reproduce locally. Reproduce on current main and read the introducing change and previous results before choosing a repair; preserve its intent and the user behavior. 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 30, 2026
  2. leaf-agent commented on Oct 30, 2026

    @leaf-agent
    CollaboratorAuthor

    #4765 repairs the shared pointer helper: it leaves the empty comment field with a page press before reaching On me → Threads. #4715 intentionally hides On me while writing so the field's corner stays still at the first key; the helper was trying to click that hidden control.

    The phone case reproduces the timeout before the repair. All four reported cases pass afterward on current main, with their downstream assertions intact; an additional ordinary Threads-list case and Ruff checks pass too. The push is recorded for landing. The queued review and tend-land own CI verification and landing with await_ci: false; this is not yet a merged resolution.

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