Repository navigation
Select gallery tabs before reading hidden browser content - #1286
Merged
Merged
Conversation
Four browser cases now reveal the tabbed gallery content they measure. The corpus specimen probe opens each containing tab in order, so nested panels are included without assuming the outer tab alone makes them visible. Refs #1283
leaf-agent
commented
Sep 27, 2026
leaf-agent
left a comment
Collaborator
Author
There was a problem hiding this comment.
The new fallback opens only the tab path for the first lf-specimen, then measures whatever happens to be visible. In examples/corpus.html, that opens the Core features → Threads path, leaving its Page & layout specimens and the Swipe package specimen hidden. The test now passes without exercising those exhibits, despite its stated sweep over every shipped specimen. Walk each declared specimen's tab path before measuring it, and assert that the sweep reached every declared specimen.
The corpus sweep previously opened only the first specimen's tab path, so it passed while skipping specimens in other gallery tabs. Visit each declared specimen before taking its gutter measurements and require it to be visible.
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.
Four browser tests in #1283 were reading content inside inactive gallery tabs. The tests now select the visible route before measuring it: the interaction cases open their outer tab, the startup case selects Interactions after upgrade, and the corpus specimen case opens each containing tab from outermost to innermost. This preserves the assertions about playback, page chrome, startup settlement, and specimen paint.
All four targeted cases pass on this branch (
uv run pytest -q -n2with their node IDs). The issue remains open for the separate focus, shipped-log margin, and chrome-class failures; the broader suite has not been shown green.Refs #1283 — automated triage