Repository navigation
Maestro wave 4: a chosen row that says so, and two more flows - #83
Merged
Merged
Conversation
The theme picker in Profile is a radiogroup drawn as three rows with a «✓» beside the chosen one. The tick is a `Text` inside the row, so VoiceOver read «Oscuro, botón» for the selected option and «Claro, botón» for one that was not: the same sentence for opposite states, with the difference carried entirely by a glyph. `ListRow` now takes `selected`, and a row that is one choice among several announces itself as a radio with its state. Rows that are not choices are untouched and stay buttons. Found by automation, which could not see it either: a flow can tap «Oscuro» and screenshot a dark screen, but it cannot assert that the app believes dark is chosen. Adds `30-appearance`, which now asserts exactly that — including after a cold relaunch, since a preference that is not written down is worse than no setting — and `29-inventory-filters` for the stockroom's three questions. Also records two more fixture limitations: the till cannot be made to offer a receipt type (this company has no fiscal issuance configured, so the server sends no options) and nothing can be sold «bajo pedido» (nothing in the fixture is out of stock). Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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.
Two flows, one accessibility defect they exposed, and three fixture
limitations recorded rather than worked around.
The defect
A chosen row did not say it was chosen. The theme picker in Profile is a
radiogroup drawn as three rows with a «✓» beside the selected one. The tick is
a
Textinside the row, so VoiceOver read «Oscuro, botón» for the selectedoption and «Claro, botón» for one that was not — the same sentence for opposite
states, with the whole difference carried by a glyph.
ListRownow takesselected: a row that is one choice among severalannounces itself as a radio with its state, and rows that are not choices stay
buttons. Automation surfaced it because it hit the same wall — a flow can tap
«Oscuro» and screenshot a dark screen, but it cannot assert the app believes
dark is chosen.
The flows
Fixture limitations added to the README
exist and which may be issued. Fiscal issuance is off in this company, so it
sends no options and the section is not drawn.
nothing in this fixture is out of stock.
Verification
npm run verifygreen: 113 suites, 2073 tests, including three new tests forListRow— selected, not selected, and not a choice at all. Flows 02, 29 and30 pass on the simulator.
🤖 Generated with Claude Code