StackExchange / Stacks

Stack Overflow’s Design System
https://stackoverflow.design
MIT License
602 stars 89 forks source link

test(button): abstract test args to setup file #1663

Closed dancormier closed 4 months ago

dancormier commented 4 months ago

This PR moves much of the button test arguments to button.test.setup.ts. This PR also introduces a11y testing for buttons that contain badges.

[!NOTE] This PR is inspired by failures noticed in button group test runs (see failing test run, PR)


The accessibility failures found in the a11y test have been captured in Jira:

netlify[bot] commented 4 months ago

Deploy Preview for stacks ready!

Name Link
Latest commit 4b9819533be5df4e98e9e06979423348764ca58d
Latest deploy log https://app.netlify.com/sites/stacks/deploys/65e0f4af5cc69b0008a4fc65
Deploy Preview https://deploy-preview-1663--stacks.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.