kahraman-storybook-testing
Kahraman's Recommended Storybook Testing Style
Use Storybook stories as executable user journeys. A story supplies a reproducible application state; its test documents what a user can perceive and do in that state. Prefer a small number of clear scenarios over one test that branches through unrelated states.
This is a recommended style, not a requirement that every project adopt the same Storybook stack. The actor and accessibility-first locator guidance is the core. MSW state modeling, routing helpers, responsive variants, screenshots, and other Storybook integrations are optional enhancements when their prerequisites exist.
Setup prerequisites
Core prerequisites
This skill extends a configured Storybook project; it does not bootstrap Storybook or choose its story architecture. Before changing interaction tests, confirm that all of these already exist: