Is your feature request related to a problem? Please describe.
We are using storybook but cannot add interaction tests (e.g. via the play method) to stories as they do not get executed automatically.
Describe the solution you'd like
Execute Storybooks automatically via Jest to allow developers to add custom test functions.
Describe alternatives you've considered
Alternatively, storybook tests could not be done at all which would not be a viable solution as it fills the gap of interaction tests that e2e tests are too big for.
Is your feature request related to a problem? Please describe. We are using storybook but cannot add interaction tests (e.g. via the
play
method) to stories as they do not get executed automatically.Describe the solution you'd like Execute Storybooks automatically via Jest to allow developers to add custom test functions.
Describe alternatives you've considered Alternatively, storybook tests could not be done at all which would not be a viable solution as it fills the gap of interaction tests that e2e tests are too big for.
Additional context https://storybook.js.org/docs/writing-tests