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

test(menu): add vrt and avt #13207

Merged
merged 3 commits into from
Feb 22, 2023
Merged

Conversation

janhassel
Copy link
Member

Contributes to #11770

Adds VRT and AVT for Menu component

Changelog

New

  • Added Menu-test.e2e.js to enable VRT and AVT

Changed

  • Provided default false to MenuItemSelectable selected state to avoid aria-checked not being populated when neither defaultSelected nor selected is passed

@tay1orjones Is there a way to create stories that are not indexed by storybook but can be picked up by percy? That way we could have separate tests for each of the subcomponents (MenuItem*). Or would you say covering the Playground story is sufficient?

@janhassel janhassel requested a review from a team as a code owner February 22, 2023 10:40
@netlify
Copy link

netlify bot commented Feb 22, 2023

Deploy Preview for carbon-components-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 5ea51c0
🔍 Latest deploy log https://app.netlify.com/sites/carbon-components-react/deploys/63f63e3366156b00083ecda5
😎 Deploy Preview https://deploy-preview-13207--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 settings.

Copy link
Member

@alisonjoseph alisonjoseph left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Member

@tay1orjones tay1orjones left a comment

Choose a reason for hiding this comment

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

Is there a way to create stories that are not indexed by storybook but can be picked up by percy?

@janhassel No, not yet - #12971. For now we're only snapshotting existing stories showing a single state. Using just the playground story for now is great 👍

@kodiakhq kodiakhq bot merged commit 06d5b77 into carbon-design-system:main Feb 22, 2023
@janhassel janhassel deleted the 11770-vrt branch February 22, 2023 16:47
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.

3 participants