|
|
|
|
|
by Dylanlacey
2138 days ago
|
|
Storybook lets you permutate the inputs you can give a component, letting you verify the results are correct in a variety of ways. I work for Sauce Labs, so I'm most familiar with combining Storybook with Screener (https://screener.io/v2/docs). Our integration lets you provide a set of interactions to take to change a component state, then does sophisticated layout, content, and structure comparisons. The official docs for testing with Storybook have a range of other ways you can use it to test your components: https://storybook.js.org/docs/react/workflows/testing-with-s... |
|