Possibility to run test-storybook for only affected stories #28959
diginikkari
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
-
Is your feature request related to a problem? Please describe.
I'm wondering if there could be some way to run test-storybook for only stories which are affected by the changes made in current commit. I'm using NX monorepo. NX has nice feature to get affected projects between different git commits. It would be cool if something similar could be used to calculate which stories are affected between different commits and only run storybook tests for those stories.
Describe the solution you'd like
Storybook could use same kind of mechanism to calculate dependency graph for affected stories like NX is using. Then tests would be run only to stories -files included in affected graph.
Describe alternatives you've considered
No response
Are you able to assist to bring the feature to reality?
no
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions