0.0.7 • Published 10 months ago
@eshn/visual-regression-tests v0.0.7
Visual Regression Test
Please check Documentation for the instructions.
Use
Install:
npm i @eshn/visual-regression-testsManual Set up all test and config files in the visual_tests folder and place it at the root of the project, or automatically add it using the command:
npx eshn-visual generateAdd 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