forvy / cypress-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cypress-example

Created to showcase my E2E test using Cypress.

Setup

  1. Open a terminal
  2. Run: npm install to install dependencies

Test Execution

  1. Open a terminal
  2. Run: npm run test
  3. Cypress will open a new window. You can choose E2E Testing which has been configured.
  4. You can choose which browser E2E will run at.
  5. Click the start button. It will open a new browser which you select in step 4.
  6. Choose which test you want to execute.
  7. Example when you run duckduckgo.cy.js:

result

About


Languages

Language:JavaScript 100.0%