Skip to content

Commit

Permalink
doc: recommend fast npm run start-server for faster and less flaky …
Browse files Browse the repository at this point in the history
…e2e tests (#2715)
  • Loading branch information
corneliusroemer authored Sep 5, 2024
1 parent 699fa4e commit b08a5c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Run `npm run test` to execute the unit tests.
### End-to-end Tests

We use [Playwright](https://playwright.dev/) for end-to-end tests.
The e2e tests assume that the website is running on `http://localhost:3000`, e.g. by running `npm run start`.
The e2e tests assume that the website is running on `http://localhost:3000` by running `npm run start-server` (don't use `npm run start` because it's much slower and causes more flakiness in the tests).
Run `npm run e2e` to execute the end-to-end tests.

If you run Playwright for the first time, you might need to run `npx playwright install`
Expand Down

0 comments on commit b08a5c7

Please sign in to comment.