- Install Node.js from here
- Download the example
- Option 1:
git clone https://github.com/applitools/tutorial-cypress.git
- Option 2: Download it as a Zip file and extract it
- Option 1:
- CD into the
tutorial-cypress
folder - Set up environment variable
APPLITOOLS_API_KEY
with your own API key.- Login to Applitools > Click on the Person icon > My API Key
- Linux/Mac: export APPLITOOLS_API_KEY=<your_key>
- Windows: set APPLITOOLS_API_KEY=<your_key>
- run
npm install
- run
npx eyes-setup
- run
npm test
- Set up environment variable
APPLITOOLS_API_KEY
with your own API key.- Login to Applitools > Click on the Person icon > My API Key
- Linux/Mac: export APPLITOOLS_API_KEY=<your_key>
- Windows: set APPLITOOLS_API_KEY=<your_key>
- run
npm install @applitools/eyes-cypress --save-dev
- run
npx eyes-setup
- Update the tests with the Applitools functionality (You can get more info on the tutorial web page and NPM docs)
- run the existing tests
Please see https://applitools.com/tutorials/cypress.html for all the details.
The following NPM docs contains all the update information for this SDK https://www.npmjs.com/package/@applitools/eyes-cypress#configure-plugin-and-commands