'How to use Storybook's interactions for testing wisely?
I'm struggling a bit with interactions in Storybook. What I wanted to achieve was to write some UI tests using interactions and execute those tests in pipeline. But I see some problems, i.e.
- One play per one story - so only one use case (unless we don't mind having big use cases).
- Play function fires always after a story is rendered. I haven't found information if we can disable it.
Has anyone worked out any approach for similar use case?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
