You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to configure my Storybook/Chromatic to have dedicated stories for visual testing and interactions tests:
My stories for visual testing will only present components in a specific configuration to ensure visual non regressions, but wont have any interaction tests.
My stories for interaction tests will only contain those tests and should not be "snapshoted" by Chromatic.
I would like to do this to optimize my build and only use snapshots when it is relevant. A lot of my interaction tests starts with the same state so it is useless to snapshot them all.
I gave a try to chromatic.disableSnapshot without success for now.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Summary
Hi everyone!
I would like to configure my Storybook/Chromatic to have dedicated stories for visual testing and interactions tests:
I would like to do this to optimize my build and only use snapshots when it is relevant. A lot of my interaction tests starts with the same state so it is useless to snapshot them all.
I gave a try to
chromatic.disableSnapshot
without success for now.Thank you very much for your answers!
Additional information
No response
Create a reproduction
No response
Beta Was this translation helpful? Give feedback.
All reactions