This example shows how to configure Playwright to work with Next.js.
Deploy the example using Vercel or preview live with StackBlitz
Execute create-next-app
with npm, Yarn, or pnpm to bootstrap the example:
npx create-next-app --example with-playwright with-playwright-app
yarn create next-app --example with-playwright with-playwright-app
pnpm create next-app --example with-playwright with-playwright-app
Deploy it to the cloud with Vercel (Documentation).
Currently the next design system is not registered on npm thus the preferred way of installing it is by using yalc.
Make sure to build and yalc publish the design system, and yalc add in the web app directory.