Repository navigation
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
Merged
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Since #6417, each commented part of a picture has its own margin entry. On
lf-tracethat 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_elementclicked 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
tandShift+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 thattests/browser/margin/test_opening_threads.pycovers on a shared passage, not anything specific to the trace.On this runner the test failed before the change with the reported
Locator.clicktimeout onNext thread, and passes after it.Closes #6517 — automated triage