The steps below will take you all the way through Cypress.
If you get stuck, here is more help:
Follow these instructions to install Cypress.
If you’re not using Node or npm in your project or you want to try Cypress out quickly, you can always download Cypress directly from CDN. Follow these instructions to install Cypress.
If you want to experiment with running this project locally, you'll need to fork it first.
After forking this project in Github, follow these commands to run tests locally:
## Clone the repo locally
git clone https://github.com/<your-username>/cypress-visual-tests.git
##Install image snapshot package using npm
npm install --save-dev cypress-image-snapshot
## Launch cypress desktop app
## Open local repo manually from cypress app or drag-drop it in cypress app
Click "visual-test.spec.js"
If you want to experiment with running this project locally with npm, you'll need to fork it first.
After forking this project in Github
, follow these commands to run tests locally using npm:
## clone this repo to a local directory
git clone https://github.com/<your-username>/cypress-visual-tests.git
## cd into the cloned repo
cd cypress-visual-tests
## install the node_modules
npm install
## start the tests
cypress run