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

CLI: Add Visual Tests addon to init #25850

Merged
merged 7 commits into from
Feb 1, 2024
Merged

Conversation

shilman
Copy link
Member

@shilman shilman commented Feb 1, 2024

Closes #25831

What I did

This change to the CLI installs Chromatic's Visual Test Addon by default in new projects:

image

For users who want to opt-out, there is a one-click uninstall button in the addon's UI. You can also remove the addon with npx storybook remove @chromatic-com/storybook or by manually deleting it from package.json and .storybook/main.js.

Checklist for Contributors

Testing

  1. Create a new sandbox & verify that the addon appears
  2. Click the Uninstall button and verify that the addon is removed

🦋 Canary release

This PR does not have a canary release associated. You can request a canary release of this pull request by mentioning the @storybookjs/core team here.

core team members can create a canary release here or locally with gh workflow run --repo storybookjs/storybook canary-release-pr.yml --field pr=<PR_NUMBER>

@shilman shilman changed the title CLI: Add Visaul Tests addon to init CLI: Add Visual Tests addon to init Feb 1, 2024
@shilman shilman changed the title CLI: Add Visual Tests addon to init CLI: Add Visual Tests addon to init Feb 1, 2024
@shilman shilman marked this pull request as ready for review February 1, 2024 08:06
@shilman shilman merged commit a72905c into next Feb 1, 2024
56 of 58 checks passed
@shilman shilman deleted the shilman/add-chromatic-addon branch February 1, 2024 10:52
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.

Include VTA on install
2 participants