This example shows how to configure Cypress to work with Next.js.
Deploy the example using Vercel or preview live with StackBlitz
Execute create-next-app with npm or Yarn to bootstrap the example:
npx create-next-app --example with-cypress with-cypress-app
# or
yarn create next-app --example with-cypress with-cypress-app
# or
pnpm create next-app -- --example with-cypress with-cypress-appDeploy it to the cloud with Vercel (Documentation).