marcoklein / impromat

The Improvisational Theatre App
https://impromat.app
GNU General Public License v3.0
5 stars 0 forks source link

[Technical Feature] Storybook for Testing #412

Open marcoklein opened 5 months ago

marcoklein commented 5 months ago

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