Skip to content

Commit

Permalink
feat: adding browser installation on contribution docs
Browse files Browse the repository at this point in the history
  • Loading branch information
barbmarcio committed Jul 25, 2024
1 parent 1be8541 commit 9326aab
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,15 @@ bun run test
### E2E Tests

By default, the application is set to serve a web browser in the port `8080` for Playwright. If this port is already being used on your local machine, make sure you change the port in your `.env`.`PLAYWRIGHT_PORT`.
To run the end-to-end tests, make sure you have latest bundled file before running it. Use the following commands:
To run the end-to-end tests, make sure you have installed the browsers supported by playwright by running this command:

```bash
npx playwright install
```

Please refer to [Playwright Documentation](https://playwright.dev/docs/browsers) for details.

Then, also make sure you have the latest bundled files before running it. Use the following commands:

```bash
bun run build
Expand Down

0 comments on commit 9326aab

Please sign in to comment.