The dg_working_from_start branch on my fork contains my completed set of tests following Glen's lesson on the blog post mentioned below.
Cypress E2E runner can also test Rest and other APIs
See related blog post Add GUI to your E2E API tests
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 servernpm run cy:open
- runs Cypress in GUI modenpm test
- starts the local API server and runs Cypress tests against it in headless mode