Skip to content

test: refresh stale component snapshots (green suite)#70

Merged
xuyushun441-sys merged 1 commit into
mainfrom
chore/green-test-suite
Jun 2, 2026
Merged

test: refresh stale component snapshots (green suite)#70
xuyushun441-sys merged 1 commit into
mainfrom
chore/green-test-suite

Conversation

@xuyushun441-sys
Copy link
Copy Markdown
Contributor

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 (false vs undefined), gap-2, and the active: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

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>
@xuyushun441-sys xuyushun441-sys merged commit f4c9a58 into main Jun 2, 2026
1 of 4 checks passed
@xuyushun441-sys xuyushun441-sys deleted the chore/green-test-suite branch June 2, 2026 00:16
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.

2 participants