Skip to content

test: walk the trace journey's two threads with t and Shift+t now that each commented part has its own margin entry - #6524

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-6517
Nov 19, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/issue-6517

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

Since #6417, each commented part of a picture has its own margin entry. On lf-trace that splits the node comment and the frame comment into two entries, so the card opened on either one holds a single thread and draws no Previous/Next thread buttons. test_trace_comments_restore_an_exact_image_and_duplicate_named_element clicked the card's Next thread to get from one thread to the other, and timed out waiting for a button #6417 meant to remove.

The journey now crosses between the two threads with the page walk's t and Shift+t. It still checks what it protects: each thread restores the evidence it was written on, meaning the frame comment brings back its captured image and the node comment its "After checkpoint" tree. The two checks it drops were about the card's own buttons (a click on ‹ or › lands in the reply, and Escape moves focus to the thread). Those are general card behavior that tests/browser/margin/test_opening_threads.py covers on a shared passage, not anything specific to the trace.

On this runner the test failed before the change with the reported Locator.click timeout on Next thread, and passes after it.

Closes #6517 — automated triage

…mented part has its own margin entry

Since #6417 the node comment and the frame comment on lf-trace are separate
margin entries, so the card opened on one holds a single thread and shows no
Previous/Next thread buttons. The trace journey clicked those buttons to cross
between the threads and timed out. It now crosses with the page walk's t and
Shift+t and still checks that each thread restores the checkpoint or frame it
was written on. The card's own stepping and where a click on it lands stay
covered by tests/browser/margin/test_opening_threads.py.

Closes #6517
@leaf-agent
leaf-agent merged commit a858b5c into main Nov 19, 2026
6 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-6517 branch November 19, 2026 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant