Skip to content

test: drop class-string tests covered by browser specs - #62

Merged
TheGreatAxios merged 1 commit into
cl-9156-react-ui-run-axe-over-stories-build-in-place-of-aria-stringfrom
cl-9121-react-ui-delete-class-string-tests-for-indicator-components
Sep 27, 2026
Merged

TheGreatAxios merged 1 commit into
cl-9156-react-ui-run-axe-over-stories-build-in-place-of-aria-stringfrom
cl-9121-react-ui-delete-class-string-tests-for-indicator-components

Conversation

@TheGreatAxios

@TheGreatAxios TheGreatAxios commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Stacked on #71. Merge after the e2e stack so coverage never drops on main.

Summary

  • Deletes twelve unit test files that mostly assert class names and markup: voice-waveform, shimmer-text, dictation-status-line, thinking-indicator, src/icon-tokens.test.ts; button, select, filter-chip, sidebar-item-row; rich-empty-state, block-card, blocks/login/auth-layout.
  • Browser specs cover the behavior they held. test(e2e): add Select, FilterChip, dictation, AuthLayout and ChatThread specs #70 covers Select, FilterChip, dictation and AuthLayout, and test(e2e): run an axe sweep over every Ladle story #71's axe sweep covers contrast and ARIA in light and dark. This PR adds e2e/motion.spec.ts: ShimmerText falls back to solid text under reduced motion and forced colors, ThinkingMark's echo drops its second wave under reduced motion, and paused freezes every animation.

Verification

bun run check (239 pass), bun run build and bun run test:e2e (21 Playwright tests) pass.

Closes CL-9121
Closes CL-9123
Closes CL-9124

@TheGreatAxios
TheGreatAxios force-pushed the cl-9121-react-ui-delete-class-string-tests-for-indicator-components branch from 538358a to 139d3a6 Compare September 25, 2026 21:55
@TheGreatAxios TheGreatAxios changed the title Drop class-string unit tests for indicators, controls and layout blocks Replace class-string unit tests with browser specs Sep 25, 2026
@TheGreatAxios
TheGreatAxios changed the base branch from main to cl-9156-react-ui-run-axe-over-stories-build-in-place-of-aria-string September 25, 2026 21:56
@TheGreatAxios
TheGreatAxios force-pushed the cl-9121-react-ui-delete-class-string-tests-for-indicator-components branch from a33cd87 to 6f6a11c Compare September 26, 2026 00:07
@TheGreatAxios TheGreatAxios changed the title Replace class-string unit tests with browser specs Replace class-string unit tests with browser specs and flatten e2e/ Sep 26, 2026
@TheGreatAxios
TheGreatAxios force-pushed the cl-9121-react-ui-delete-class-string-tests-for-indicator-components branch from 6f6a11c to 0926f78 Compare September 26, 2026 01:32
@TheGreatAxios TheGreatAxios changed the title Replace class-string unit tests with browser specs and flatten e2e/ test: drop class-string tests for indicator components Sep 26, 2026
@TheGreatAxios
TheGreatAxios added this pull request to stack #75 September 26, 2026 01:57
@TheGreatAxios
TheGreatAxios force-pushed the cl-9121-react-ui-delete-class-string-tests-for-indicator-components branch from 0926f78 to 445ea32 Compare September 27, 2026 19:08
@TheGreatAxios TheGreatAxios changed the title test: drop class-string tests for indicator components test: drop class-string tests covered by browser specs Sep 27, 2026
Twelve unit test files mostly asserted class names and markup. The e2e
specs and the axe sweep cover their behavior; motion.spec.ts adds the
reduced-motion, forced-colors and paused checks.
@TheGreatAxios
TheGreatAxios force-pushed the cl-9121-react-ui-delete-class-string-tests-for-indicator-components branch from 445ea32 to 0151cbf Compare September 27, 2026 19:11
@TheGreatAxios
TheGreatAxios merged commit afb796b into main Sep 27, 2026
2 checks passed
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