nextjs-playwright-example

Shows how to use Playwright to test Next.js

Stars
18

Playwright Example

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 your own

Deploy the example using Vercel:

How to use

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).

Badges
Extracted from project README
Deploy with Vercel
Related Projects