Feature: Storyshots story filter #16932
matt-pawley
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As per #16315 it would be good to have fine grained control of running different snapshot test suites.
I'm happy to open a PR, but would would be good to get some feedback on the approach if possible.
My proposed approach, would to introduce a new config parameter to
initStoryshots
ofstoryFilter
(suggestions welcome for the name).storyFilter
(if exists) would be called on a per Story basis here -storybook/addons/storyshots/storyshots-core/src/api/index.ts
Line 71 in 1825cc0
It would also allow the developer to address #14277 themselves.
Beta Was this translation helpful? Give feedback.
All reactions