paragon
paragon copied to clipboard
Visual regression testing
https://blog.logrocket.com/automated-visual-regression-testing-with-jest/
Explore use of jest-image-snapshot
and jsdom-screenshot
to automate testing for regressions in visual styles.
Some initial concerns:
- [ ] "Works on my machine". Running tests in a docker container could help mitigate this.
AC
- Implement prototype of visual regression testing (potentially using above libraries?) for at least 2-3 components.
- Understand the "noise" thresholds of "works on my machine" issue.
Potentially look into https://github.com/cypress-visual-regression/cypress-visual-regression as an alternative as well.