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

Button: Add focusable disabled variant to vizreg Storybook #58634

Merged
merged 1 commit into from
Feb 2, 2024

Conversation

mirka
Copy link
Member

@mirka mirka commented Feb 2, 2024

What?

Adds a focusable disabled (disabled + __experimentalIsFocusable) column to the Button variant matrix we have in the dev Storybook we have for local visual regression testing.

Why?

We don't have automated vizreg tests for focus states yet, but this is still useful for manual testing. It was helpful when testing #58606, and also helped catch a bug (#58632).

Testing Instructions

Run npm run storybook:e2e:dev and see the story for Button ▸ Variant States.

Screenshots or screencast

CleanShot 2024-02-03 at 03 24 00

@mirka mirka added [Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests. [Package] Components /packages/components Storybook Storybook and its stories for components labels Feb 2, 2024
@mirka mirka requested a review from a team February 2, 2024 18:30
@mirka mirka self-assigned this Feb 2, 2024
@mirka mirka requested a review from ajitbohra as a code owner February 2, 2024 18:30
Copy link
Contributor

@ciampo ciampo left a comment

Choose a reason for hiding this comment

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

🚀

Copy link

github-actions bot commented Feb 2, 2024

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

Core SVN

If you're a Core Committer, use this list when committing to wordpress-develop in SVN:

Props: 0mirka00, mciampini.

GitHub Merge commits

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: mirka <0mirka00@git.wordpress.org>
Co-authored-by: ciampo <mciampini@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@ciampo ciampo merged commit 51f59e6 into trunk Feb 2, 2024
64 checks passed
@ciampo ciampo deleted the add/button-sb-matrix branch February 2, 2024 19:52
@github-actions github-actions bot added this to the Gutenberg 17.7 milestone Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package] Components /packages/components Storybook Storybook and its stories for components [Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants