Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: toggle avt test #14449

Merged

Conversation

andreancardona
Copy link
Contributor

@andreancardona andreancardona commented Aug 16, 2023

Part of #13747

Closes #14331

Changelog
New

Broke https://github.com/AVT tests out into their own Tabs-test.avt.e2e.js file
@vrt tests remain in the Tabs-test.e2e.js file

Add keyboard navigation tests covering default Tabs state

Update playwright config glob to match and include the new test file naming structure (avt.e2e.js)

Testing / Reviewing
CI should pass
Ensure the tests pass a sniff test and don't look problematic

yarn playwright test components/Toggle/Toggle-test.avt.e2e.js

@netlify
Copy link

netlify bot commented Aug 16, 2023

Deploy Preview for carbon-components-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 8c69192
🔍 Latest deploy log https://app.netlify.com/sites/carbon-components-react/deploys/64e650e131f0ea00089e6101
😎 Deploy Preview https://deploy-preview-14449--carbon-components-react.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.

@netlify
Copy link

netlify bot commented Aug 16, 2023

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit 8c69192
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/64e650e1402efe00080a2743
😎 Deploy Preview https://deploy-preview-14449--carbon-elements.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.

Copy link
Contributor

@guidari guidari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we include the avt test for the skeleton variant also? I see that a few files have on it

@andreancardona andreancardona requested a review from guidari August 22, 2023 15:56
@andreancardona andreancardona requested a review from a team as a code owner August 23, 2023 15:49
@tw15egan tw15egan force-pushed the 14331-toggle-avt-tests branch from 8960d95 to 6e43ffa Compare August 23, 2023 17:09
@andreancardona andreancardona added this pull request to the merge queue Aug 23, 2023
Merged via the queue into carbon-design-system:main with commit d4a0d04 Aug 23, 2023
@andreancardona andreancardona deleted the 14331-toggle-avt-tests branch August 23, 2023 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add AVT coverage for Toggle states: Hover/Active/Visited state
4 participants