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

Use new Test Provider API instead of SidebarTop and SidebarBottom #342

Open
wants to merge 19 commits into
base: main
Choose a base branch
from

Conversation

ghengeveld
Copy link
Member

@ghengeveld ghengeveld commented Oct 11, 2024

Updates the addon to use the new experimental_TEST_PROVIDER addon type that's coming in Storybook 8.4. When available, this API is used instead of the deprecated experimental_SIDEBAR_TOP and experimental_SIDEBAR_BOTTOM addon types.

The new API adds Visual tests as a test provider in the Testing Module at the bottom of the sidebar:

Screen.Recording.2024-10-11.at.08.53.38.mov

Most notifications have been removed in favor of showing a warning text in the Testing Module.

📦 Published PR as canary version: 3.0.0--canary.342.cc59bc7.0

✨ Test out this PR locally via:

npm install @chromatic-com/[email protected]
# or 
yarn add @chromatic-com/[email protected]

@ghengeveld ghengeveld added release Auto: Create a `latest` release when merged major Auto: Increment the major version when merged labels Oct 11, 2024
src/manager.tsx Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
major Auto: Increment the major version when merged release Auto: Create a `latest` release when merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants