Skip to content

s-chathuranga-j/visualTesting-applitools-eyes-cypress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Visual Testing with Applitools Eyes using Cypress

This is a Cypress project with the dependencies:

  • Applitools Eyes

Obtain an API Key

  1. Create an Applitools account
  2. Click profile icon & click My API Key
  3. Copy the API Key
  4. Setup the API Key using the following commands:
  • On a Windows machine run this command: set APPLITOOLS_API_KEY='YOUR_API_KEY'
  • On a Mac or Linux machine run this command: export APPLITOOLS_API_KEY=<your_key>

How to run the code:

  1. Open the projet with IntelliJ (or any other preferred IDE)
  2. Run 'npm install' to download the dependencies in the package.json file
  3. Run 'npx cypress open' to open the Cypress GUI
  4. Click the test you want to run

A descriptive explanation about the code-base can be found on Medium.com: https://schathurangaj.medium.com/visual-testing-with-cypress-using-applitools-eyes-715b4481cb7f

Feel free to Clone, Try-out & Optimize the code-base as your wish!

Releases

No releases published

Packages

No packages published