Skip to content
Draft
Show file tree
Hide file tree
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
10 changes: 2 additions & 8 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ on:

env:
NODE_JS: "22"
EXAMPLE_TEMPLATE: "web-chat"
EXAMPLE_NAME: "example"
EXAMPLE_PORT: "8080"
# Firefox in container fails due to $HOME not being owned by user running commands
# more details https://github.com/microsoft/playwright/issues/6500
HOME: "/root"
Expand All @@ -29,11 +26,8 @@ jobs:

- uses: ./.github/actions/npm

- name: Build browser container
run: npm run build --workspace=@waku/headless-tests

- name: Build browser test environment
run: npm run build --workspace=@waku/browser-tests
- name: Build entire monorepo
run: npm run build

- name: Run Playwright tests
run: npm run test --workspace=@waku/browser-tests
Expand Down
45 changes: 0 additions & 45 deletions Dockerfile

This file was deleted.

10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,16 @@ You can track progress on the [project board](https://github.com/orgs/waku-org/p

See [CONTRIBUTING.md](https://github.com/waku-org/js-waku/blob/master/CONTRIBUTING.md).

## Dockerized browser tests

Build and run the dockerized Playwright tests from `packages/browser-tests`:

```bash
cd packages/browser-tests
npm run docker:build
HEADLESS_USE_CDN_IN_DOCKER=0 npx playwright test tests/docker-server.spec.ts
```

## License

Licensed and distributed under either of
Expand Down
Loading
Loading