visual-regression-test
v1.1.14
Published
eshn visual regression tests support
Downloads
1,519
Readme
Visual Regression Test
Please check Documentation for the instructions.
Use
Install:
npm i @eshn/visual-regression-tests
Set up all test and config files in the visual_tests folder and place it at the root of the project.
Add to scripts in package.json:
"ref": "eshn-visual ref", "approve": "eshn-visual approve", "test": "eshn-visual test"
Use new command aliases:
| Command | Alias 1 | Alias 2 | Description | | --------------------------------------------------- | ------- | ------------- | ------------------- | | npm run ref -- --test-suite alloy | r alloy | ref alloy | | | npm run approve -- --test-suite alloy | a alloy | approve alloy | | | npm run ref -- --test-suite alloy | t alloy | test alloy | | | npm run ref -- --test-suite sign-in --requiredLogin | t alloy | test alloy | Run with login mode |