Skip to content

fix: check rendered text in quoted playground test - #4617

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-4567
Oct 28, 2026
Merged

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

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The quoted-playground test now checks rendered text with use_inner_text=True. #4545 moved initial delivery and live updates onto a shared Lit view; it retains option labels beneath hidden controls, so the old textContent assertion reads words that occupy no visible box. This preserves that renderer and the quotation behavior introduced by #3276.

The original assertion reproduces the reported failure locally. Browser inspection confirms the control has display: none, a zero-sized rectangle, and no contribution to the settings box's innerText; the CI failure screenshot also shows only the expected sentence. With the corrected reading, the reported test and the related static-preview test pass (2 passed). All control-visibility, empty-box and stage-spacing assertions remain.

Closes #4567 — automated triage

The shared Lit renderer in #4545 retains option labels beneath hidden controls. Read innerText to assert the visible sentence while preserving the control visibility, empty-box and stage-spacing assertions.

Closes #4567
@leaf-agent
leaf-agent merged commit a712cbb into main Oct 28, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-4567 branch October 28, 2026 16:45
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.

Quoted playground test reads control-only option words

1 participant