materialish
materialish copied to clipboard
Add visual regression testing
Pieces to put together:
- Jest
- jest-image-snapshot
- Puppeteer
- Storybook with the UI hidden
I may be underestimating the challenge, but I think that this should be straightforward. The hardest problem I can think of is the npm script that:
- starts the storybook
- once it is running, runs the tests
- shuts the storybook down when the tests are complete
- fails when the test fails, succeeds when the test succeeds