Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(docs): changing browser installation command to use bunx #18

Merged
merged 1 commit into from
Jul 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,22 @@ 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`.`SERVER_PORT`.

First, make sure you have all the dependencies installed:

```bash
bun install
```

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
bunx 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:
Then, make sure you have the latest bundled files before running it. Use the following commands:

```bash
bun run build
Expand Down