Skip to content
Cypress E2E runner can also test Rest and other APIs
Branch: master
Clone or download
2 authors and jennifer-shehane chore(deps): update dependency cypress to version 3.4.0 🌟 (#17)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Latest commit 5bf8445 Jul 9, 2019

README.md

cypress-example-api-testing

Cypress E2E runner can also test Rest and other APIs

CircleCI renovate-app badge

API testing using Cypress

See related blog post Add GUI to your E2E API tests

Use

Install dependencies with npm install or npm ci

See scripts in package.json to start the local API server and run the tests. The main ones are

  • npm start - runs the local API server
  • npm run cy:open - runs Cypress in GUI mode
  • npm test - starts the local API server and runs Cypress tests against it in headless mode
You can’t perform that action at this time.