Skip to content

Align option checks with Done shortcut and rendered words - #2103

Merged
leaf-agent merged 2 commits into
mainfrom
fix/ci-37819031263-options
Oct 8, 2026
Merged

leaf-agent merged 2 commits into
mainfrom
fix/ci-37819031263-options

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

PR #2064 intentionally removed the visible badge inside the Done button and began rendering option words through Markdown. The complete main run's options checks still expected that badge and the original raw text node. These checks now require Done's working 4 keyboard shortcut, the visible option words, and stable group, option, title, and control elements through choice, refusal, and reconnection.

The three affected browser cases failed before this change on current main and now pass; pre-commit passes. This repairs the options subset of failed main run 37819031263.

The Done action retains shortcut 4 without an in-button badge, and Markdown rendering may replace an authored text node while retaining its visible words. The test now checks the shortcut and words while continuing to require stable group, option, title, and control nodes.

@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 assertion checks that Done advertises key 4, but it does not exercise the shortcut. A broken key dispatch would still pass the test, so the PR's stated working-shortcut coverage is missing.

Comment thread tests/test_render_options.py Resolved
The browser case now presses 4, observes the answered state, then reopens the question before checking the remaining option bindings. This protects the working shortcut rather than only its ARIA declaration.
@leaf-agent
leaf-agent merged commit a61a680 into main Oct 8, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/ci-37819031263-options branch October 8, 2026 21:25
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.

1 participant