Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 730 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 730 Bytes

crunch-diff

Image (screenshot) comparison tool built on top of yahoo/blink-diff

Copy variables_sample.json to a variables.json file with your own information.

Set the current branch name into your variables.json file json -I -f variables.json -e 'this.branch="[your_branch_name]"'. This will inform your visual regression tests on where in S3 to upload your screenshots.

Run npm install to install your dependencies.

Run docker-compose up --scale chrome=1 to start the service, or any number of chrome drivers you want running. Recommended that you do not exceed the number of cpu cores you have on your machine.

Run ./node_modules/.bin/nightwatch tests/visualRegression/