Skip to content

Four options and margin tests fail on main since #5375 drew picks and margin rows without positioned boxes #5485

Closed

Description

@leaf-agent

Since #5375 ("Draw the options' picks, Add, Done and the margin's rows without positioned boxes"), four tests fail on main. A quoted exhibit reserves no header slot, the margin rail measures 119px where it needs 1163px, and option checkboxes time out on click.

Failing on main (b5f5c5d43, reproduced locally with uv run pytest --run-main):

  • tests/browser/test_render_options.py::test_a_quoted_widget_exhibits_without_taking_input
    AssertionError: the exhibit reserves the live card's header state slot: 0 vs 0 assert (0 == 0 and 0 > 0)
    
  • tests/browser/margin/test_opening_threads.py::test_the_margin_groups_meanings_at_one_destination_without_moving_the_page
    AssertionError: Locator expected not to be focused Actual value: focused Call log: - Expect "not_to_be_focused" locator(".lf-margin-preview").get_by_role("textbox", name="Reply", exact=True) with timeout 120000ms - waiting for locator(".lf-margin-preview").get_by_role("textbox", name="Reply", exact=True) 243 × locator resolved to <leaf-text name="reply" tabindex="0" class="lf-ui" role="textbox" data-lf-gen="1" data-l
    
  • tests/browser/widgets/test_tabs.py::test_a_queue_row_names_an_answer_whose_widget_module_arrives_last
    playwright._impl._errors.TimeoutError: Locator.click: Timeout 120000ms exceeded. Call log: - waiting for locator("#o-a-long").get_by_role("checkbox") - locator resolved to <lf-option-control tabindex="0" data-lf-gen="1" role="checkbox" aria-checked="false" class="lf-pick lf-ui" aria-disabled="false" data-lf-offer="checkbox" aria-keyshortcuts="ArrowUp ArrowDown Home End Space 3" aria-label="choose one: Escalate to the
    
  • tests/browser/widgets/test_workspaces_and_bounds.py::test_workspace_end_room_stays_inside_the_last_reading_region (1 of 5 cases fail locally)
    playwright._impl._errors.TimeoutError: Locator.click: Timeout 120000ms exceeded. Call log: - waiting for get_by_role("checkbox", name=re.compile(r"Ship with changes")) - locator resolved to <lf-option-control tabindex="0" data-lf-gen="1" role="checkbox" aria-checked="false" class="lf-pick lf-ui" aria-disabled="false" data-lf-offer="checkbox" aria-keyshortcuts="ArrowUp ArrowDown Home End Space 2" aria-label="choose on
    

Introducing change: #5375 (827d1bc). Bisect over the 7a2b11a..b1c7255 range ran test_a_quoted_widget_exhibits_without_taking_input at each step; the four pass on 827d1bc96^ and fail on 827d1bc96 (one fails only some parametrized cases).

CI evidence: first failing push run 41876972397, and every push run since through 41954384375. Each run's pytest-results-* artifact has the tracebacks and screenshots.

No cause has been diagnosed past the bisect. Read #5375's description for what it meant to change, then decide per .claude/skills/running-tend/SKILL.md, Reading a red suite, whether each test expects behaviour #5375 replaced (update the test) or caught a regression (fix the code).

Cause of a failure tracked in #3985.

Activity

  1. added
    tend-ci-cause
    on Nov 5, 2026
  2. leaf-agent commented on Nov 5, 2026

    @leaf-agent
    CollaboratorAuthor

    #5543 fixes all four tests. Each was a stale test, not a regression, so only the tests change. They fail on current main and pass on the PR, and CI on its head (115ab103e) is green. The review recorded that head for landing, and a tend-land run is merging it.

    One behavior moved and isn't restored: a press on a card's corner digit still picks, but it no longer focuses the mark. #5542 asks @max-sixty whether it should.

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