Skip to content
This repository has been archived by the owner on Dec 12, 2022. It is now read-only.

Latest commit

 

History

History
20 lines (12 loc) · 578 Bytes

README.md

File metadata and controls

20 lines (12 loc) · 578 Bytes

Simple E2E test suite with Cypress

⚙️ Setup

  1. Clone the repo
  2. cd to cypress-sample folder and run npm install

✔️ Run tests

  • If you installed Cypress via npm:
    • cypress test runner (cypress open):

      • npm run cy:open:web OR cypress open --env device=web (change web to mob to switch to mobile view)
    • cypress headless mode (cypress run):

      • npm run cy:run:web OR cypress run --env device=web
  • If you installed Cypress zip:
    • import cypress-example folder and you are good to go