Skip to content

fix: check selected option paint instead of a text glyph - #5098

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-5077
Nov 2, 2026
Merged

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

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The selected-option tests still required a ✓ text glyph after #4859 deliberately replaced it with a masked check icon. Check the mark's painted fill and cut-out instead, preserving the accessible-name and interaction assertions. The ring measurement also sampled a scope label covering the right edge; leave the active group before measuring so the test reads the ring itself. The reopened-card test likewise leaves binding badges before inspecting the selection mark.

All five reported failures reproduced before the repair and pass afterward, including with 6× CPU throttling. A control with the check mask removed fails the new pixel assertion. Ruff and formatting checks pass. Product rendering is unchanged.

Closes #5077 — automated triage

Preserve the masked check introduced by #4859. Read its painted fill and cut-out instead of pseudo-element text and font size. Leave the active option scope before measuring the selection mark and ring, so binding badges and the scope label do not cover them.

Closes #5077
@leaf-agent
leaf-agent merged commit 32501dd into main Nov 2, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-5077 branch November 2, 2026 09:17
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.

Selected-option checks read empty check content and a missing ring edge

1 participant