test: refresh stale component snapshots (green suite)#70
Merged
Conversation
The 3 snapshot suites had drifted from intentional component polish — Button gained `accessibilityRole="button"`, busy/disabled a11y states, a `gap-2` press-scale animation (`active:scale-[0.98]`), and SearchBar gained an accessibility label, `returnKeyType="search"`, and a clear button. The diffs are purely additive (a11y + UX), not regressions, so the snapshots were simply out of date. Update them with `jest -u`. Full suite is now green: 1161 passed, 0 failed. Co-Authored-By: Claude Opus 4.8 <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.
Summary
The 3 snapshot suites (
common-components,ui-components,ui-components-extended) had been failing — 20 stale snapshots — since before this session. The diffs are purely additive intentional polish, not regressions:Button:accessibilityRole="button", busy/disabled a11y states (falsevsundefined),gap-2, and theactive:scale-[0.98]press animation.SearchBar:accessibilityLabel,returnKeyType="search",clearButtonMode, and a clear button.Updated with
jest -u.Result
Full suite is now green:
Test Suites: 143 passed,Tests: 1161 passed,Snapshots: 54 passed, jest exit 0.🤖 Generated with Claude Code