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

[ARCHIVED] Cypress E2E runner can also test Rest and other APIs

Notifications You must be signed in to change notification settings

cypress-io/cypress-example-api-testing

Repository files navigation

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

About

[ARCHIVED] Cypress E2E runner can also test Rest and other APIs

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published