Files
next.js/examples/with-playwright
b005bdce38 example: add more files to playwright .gitignore (#72447)
## Description
[create-playwright](https://github.com/microsoft/create-playwright)
makes the below special `.gitignore` file.

```txt
node_modules/
/test-results/
/playwright-report/
/blob-report/
/playwright/.cache/
```

It's good to add these files to .gitignore for convinience.

### Adding or Updating Examples

- [x] The "examples guidelines" are followed from our contributing doc
https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md
- [x] Make sure the linting passes by running `pnpm build && pnpm lint`.
See
https://github.com/vercel/next.js/blob/canary/contributing/repository/linting.md

Co-authored-by: JJ Kasper <[email protected]>
2024-11-08 19:27:48 +00:00
..

Next.js + Playwright

This example shows how to configure Playwright to work with Next.js.

Deploy your own

Deploy the example using Vercel or preview live with StackBlitz

Deploy with Vercel

How to use

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