Skip to content

feat(components): add Checkbox visual test suite#3005

Open
julia-wjw wants to merge 2 commits intomasterfrom
JOB-157510-checkbox-visual-tests
Open

feat(components): add Checkbox visual test suite#3005
julia-wjw wants to merge 2 commits intomasterfrom
JOB-157510-checkbox-visual-tests

Conversation

@julia-wjw
Copy link
Contributor

Motivations

Establishes a visual test baseline for the Checkbox component so that future changes to its appearance can be caught by visual regression testing.

Changes

Added

  • VisualTestCheckboxPage rendering all Checkbox states: unchecked, checked, indeterminate, disabled (unchecked/checked/indeterminate), invalid, with description, and with children as label
  • checkbox.visual.ts Playwright visual test suite with screenshot tests for initial page state, hover, and focus interactions
  • Baseline snapshots for Chromium, Firefox, and WebKit

Changed

  • Registered VisualTestCheckboxPage in VisualTestRouter under the checkbox route

Testing

Changes can be tested via Pre-release

Made with Cursor

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Mar 25, 2026

Deploying atlantis with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1c4ece1
Status: ✅  Deploy successful!
Preview URL: https://05e4f04d.atlantis.pages.dev
Branch Preview URL: https://job-157510-checkbox-visual-t.atlantis.pages.dev

View logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants