paragon icon indicating copy to clipboard operation
paragon copied to clipboard

Visual regression testing

Open adamstankiewicz opened this issue 2 years ago • 1 comments

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.

adamstankiewicz avatar May 20 '22 17:05 adamstankiewicz

Potentially look into https://github.com/cypress-visual-regression/cypress-visual-regression as an alternative as well.

adamstankiewicz avatar Oct 21 '22 13:10 adamstankiewicz