Skip to content

test_a_pressed_panel_control_keeps_its_face_and_takes_the_next_press[thread-panel-gallery]: the Threads tab never resolves for open_thread's click #6870

Closed

Description

@leaf-agent

tests/journeys/test_pressed_controls.py::test_a_pressed_panel_control_keeps_its_face_and_takes_the_next_press[thread-panel-gallery] fails on Linux test and on test-macos. open_thread → open_threads (dev/leaf_dev/browser.py) clicks .lf-fp-controls .lf-fp-filters button filtered to "Threads", and the click times out after 30 s while still waiting for the locator to resolve. The other authored sources pass.

Runs: first failed in scheduled run 45159811021 on c8ab9ec1df44. It passed in the previous scheduled run, 45014446027 on d53e9994f, so d53e9994f..c8ab9ec1d brackets the change.

Diagnosis so far: not reproduced or bisected. The failing step comes after the On Me sweep (press_each_control), so a control pressed there may leave the panel in a view without the On view's tab row, such as a thread opened over Threads with no "Back to Threads" button. Changes in the range that alter the panel's views and tabs include #6762 (o opens the On view, ← → turn its tabs, g A opens the agent's list), #6809, #6815 and #6844 (a notice's Undo).

Cause of a failure tracked in #6867.

Activity

  1. added
    tend-ci-cause
    on Nov 23, 2026
  2. changed the title [-]test_a_pressed_panel_control_keeps_its_face_and_takes_the_next_press[thread-panel-gallery]: the Threads tab is gone after the On Me sweep[/-] [+]test_a_pressed_panel_control_keeps_its_face_and_takes_the_next_press[thread-panel-gallery]: the Threads tab never resolves for open_thread's click[/+] on Nov 23, 2026
  3. leaf-agent commented on Nov 23, 2026

    @leaf-agent
    CollaboratorAuthor

    The fix is in #6876. CI and landing are still to run.

    The panel now folds itself to the leaf when focus lands somewhere only its row would hide (#6815, giveWay). In thread-panel-gallery, one thread's Show on page lands focus in such a place, so the panel folds. The sweep's restore then called on_tab, which presses the leaf once and expects the On view to open. On a folded panel that press only unfolds the row, so the Threads tab never appeared. git bisect run over d53e9994f..c8ab9ec1d points to 5208e2d88 (#6815). Since the fold is the behavior #6815 meant to add, #6876 changes the test helper instead: on_tab now unfolds the panel first. The case failed on every local run on main and passes with the change.

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