0.0.7 • Published 1 year ago

@eshn/visual-regression-tests v0.0.7

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Visual Regression Test

Please check Documentation for the instructions.

Use

  1. Install:

    npm i @eshn/visual-regression-tests
  2. Manual 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 generate
  3. Add to scripts in package.json:

     "ref": "eshn-visual ref",
     "approve": "eshn-visual approve",
     "test": "eshn-visual test"
  4. Use new command aliases:

    CommandAlias 1Alias 2Description
    npm run ref -- --test-suite alloyr alloyref alloy
    npm run approve -- --test-suite alloya alloyapprove alloy
    npm run ref -- --test-suite alloyt alloytest alloy
    npm run ref -- --test-suite sign-in --requiredLogint alloytest alloyRun with login mode
0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago