Very quick POC for running visual regression tests using Storybook, Storyshots and Puppeteer.
$ yarn
$ yarn test:visual
- Run snapshots for different viewports / pixel density / device simulations
- Run snapshots of whole page templates
- Test accessibility with AxE
- Figure out a nice workflow for updating snapshots
- Run in watch mode
- Have a beer after a job well done!