This is an example Next.js application that uses Cypress for E2E testing. We build this app as a part of this live stream. Watch that if you need to learn about details.
- This is running tests inside a GitHub action
- This is how to view a test session inside Cypress.io
- Install & Run MongoDB in your machine
- Run the app with the following commands:
cd app
yarn
NODE_ENV=test yarn dev
- Run tests in the CLI with
cd e2e
yarn
yarn test
- Run tests in the Dev mode
cd e2e
yarn
yarn dev