Skip to content

test_trace_comments_restore_an_exact_image_and_duplicate_named_element: the margin preview offers no Next thread since #6417 #6517

Closed

Description

@leaf-agent

test_trace_comments_restore_an_exact_image_and_duplicate_named_element (tests/journeys/test_render_playwright_trace.py) fails on Linux in scheduled run 44509509454 (8512ab218), and on current main dd38dcb16. It passed in the Nov 18 scheduled run (8afbebff4).

The test times out clicking the margin preview's Next thread button, which never appears:

tests/journeys/test_render_playwright_trace.py:405
Locator.click: Timeout 120000ms exceeded.
  - waiting for locator(".lf-margin-preview").get_by_role("button", name="Next thread")

git bisect run over this node id from 8afbebff4 to 8512ab218 names #6417 (4bcb73617, "Give each commented part of a picture its own margin entry, named and traced by the part"). That change gives the image's commented parts separate margin entries, so the preview the test walks may no longer hold several threads behind one entry. The remaining question is whether the test's walk is stale or the preview lost a route it should keep.

Cause of a failure tracked in #4225.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    #6524 fixes this in the test. #6417 intentionally gives the trace's node comment and frame comment separate margin entries, so the card on either one holds a single thread and draws no ‹ › buttons, and the journey was waiting on a button that no longer exists. The journey now crosses between the two threads with t and Shift+t and still checks that each thread restores its checkpoint or captured frame. The card's own stepping stays covered by tests/browser/margin/test_opening_threads.py. On this runner the test failed before the change with the reported timeout and passes after it. PR CI and landing now pass to tend-land.

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