A tool to review visual regression screenshots. Not very polished and has bugs.
Installation:
git clone https://github.com/Klaster1/visual-regression-review.git
cd visual-regression-review
npm i
Usage:
- Start VRR:
node /path/to/visual-regression-review/src/index.ts --path="c:\dev\my-projects\visual-regression. - Go to the address from the output.
- Review screenshots by inspecting the reference images, current images and diffs. It's up to you to generate those.
- Press "Approve" to replace reference image with current image. This also removes the diff.
Prerequisites:
- Node.js with unflagged "--experimental-strip-types" to run TypeScript natively (23.6.0 and newer).
- Files at the path need to follow this pattern:
*.{reference|current|diff}.png.
