- Clone the repo
- cd to
cypress-sample
folder and runnpm install
- If you installed Cypress via npm:
-
cypress test runner (cypress open):
npm run cy:open:web
ORcypress open --env device=web
(change web to mob to switch to mobile view)
-
cypress headless mode (cypress run):
npm run cy:run:web
ORcypress run --env device=web
-
- If you installed Cypress zip:
- import
cypress-example
folder and you are good to go
- import