Skip to content

Select gallery tabs before reading hidden browser content - #1286

Merged
max-sixty merged 4 commits into
mainfrom
fix/issue-1283-gallery-tabs
Sep 27, 2026
Merged

max-sixty merged 4 commits into
mainfrom
fix/issue-1283-gallery-tabs

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

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 -n2 with 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

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 leaf-agent left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.
@max-sixty
max-sixty merged commit b813084 into main Sep 27, 2026
4 checks passed
@max-sixty
max-sixty deleted the fix/issue-1283-gallery-tabs branch September 27, 2026 06:46
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.

2 participants