Playwright enables reliable end-to-end testing for modern web apps.
This repo was created as a starting point so you can follow along the Testing Next.js using Playwright article.
If you want to jump straight to the finished setup, check out the completed-setup branch.
Deploy the example using Vercel:
Execute create-next-app
with npm or Yarn to bootstrap the example:
npx create-next-app --example with-playwright with-playwright-app
# or
yarn create next-app --example with-playwright with-playwright-app
Deploy it to the cloud with Vercel (Documentation).