Skip to content

Commit d803565

Browse files
authored
feat(browser-tests): simplify, refactor, update dockerized browser node (#2623)
* feat(browser-tests): simplify, refactor, update dockerized browser node * Update packages/browser-tests/web/index.ts * fix: remove comments and console.logs from tests * fix: add temporary logging * fix: debugging static sharding * fix: replace console with logger * fix: remove use of any * fix: log dial error * fix: replace any with libp2p options * fix: remove unused logic around sourcing address.env * fix: uncomment log * fix: add more logging and fix tests * feat: add types for test-config * fix: add types to server.ts * fix: remove more uses of any * fix: remove use of any in endpoint handlers
1 parent e92f6a2 commit d803565

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+3192
-6159
lines changed

.github/workflows/playwright.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ on:
88

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

3027
- uses: ./.github/actions/npm
3128

32-
- name: Build browser container
33-
run: npm run build --workspace=@waku/headless-tests
34-
35-
- name: Build browser test environment
36-
run: npm run build --workspace=@waku/browser-tests
29+
- name: Build entire monorepo
30+
run: npm run build
3731

3832
- name: Run Playwright tests
3933
run: npm run test --workspace=@waku/browser-tests

Dockerfile

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)