Use new Test Provider API instead of SidebarTop and SidebarBottom#342
Merged
ghengeveld merged 20 commits intomainfrom Oct 23, 2024
Merged
Use new Test Provider API instead of SidebarTop and SidebarBottom#342ghengeveld merged 20 commits intomainfrom
ghengeveld merged 20 commits intomainfrom
Conversation
yannbf
reviewed
Oct 11, 2024
7eaa3d4 to
8f8f922
Compare
9ca2de2 to
4488efc
Compare
… versions of Storybook
8 tasks
valentinpalkovic
approved these changes
Oct 17, 2024
0495e87 to
898d4c4
Compare
caf088d to
2071c8b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates the addon to use the new
experimental_TEST_PROVIDERaddon type that's coming in Storybook 8.4. When available, this API is used instead of the deprecatedexperimental_SIDEBAR_TOPandexperimental_SIDEBAR_BOTTOMaddon 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.2071c8b.0✨ Test out this PR locally via:
npm install @chromatic-com/storybook@3.0.0--canary.342.2071c8b.0 # or yarn add @chromatic-com/storybook@3.0.0--canary.342.2071c8b.0