#Cypress vs jest playwright for component testing
6 messages · Page 1 of 1 (latest)
Hey there, composeStories was a step towards component testing. Our opinion is that component testing offers a better alternative to Cypress. You're able to use stories for dev, testing and documentation.
Plus, for CI runs, you can debug tests in the browser. Whereas, with Cypress you only get screen recordings.
That said, do what fits better in your workflow.
playwrights component testing is experimental, and also, getting jest into the boat again instead of vitest or something faster seem bad
To clarify, I meant Storybook component/interaction testing: https://storybook.js.org/docs/react/writing-tests/interaction-testing
It uses Jest assertions and playwright as the CI test runner. Alternatively, you can use Chromatic as the CI test runner.
currently trying to get away from jest