Skip to content

Commit 708a330

Browse files
authored
chore: remove playwright docker (#1570)
1 parent 158ccef commit 708a330

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,6 @@ jobs:
102102
name: E2E Tests - Shard ${{ matrix.shard }}
103103
runs-on: ubuntu-24.04
104104
timeout-minutes: 15
105-
container:
106-
image: mcr.microsoft.com/playwright:v1.57.0-jammy
107-
options: --network-alias playwright
108105
services:
109106
mongodb:
110107
image: mongo:5.0.32-focal
@@ -114,6 +111,8 @@ jobs:
114111
db.getSiblingDB(\"test\").test.deleteOne({_id: \"hc\"})'"
115112
--health-interval 10s --health-timeout 5s --health-retries 10
116113
--health-start-period 10s
114+
ports:
115+
- 27017:27017
117116
permissions:
118117
contents: read
119118
pull-requests: write
@@ -139,6 +138,9 @@ jobs:
139138
- name: Build dependencies
140139
run: npx nx run-many -t ci:build
141140

141+
- name: Install Playwright browsers
142+
run: cd packages/app && npx playwright install --with-deps chromium
143+
142144
- name: Run Playwright tests (full-stack mode)
143145
# MongoDB service health check ensures it's ready before this step runs
144146
# Note: Tests use ClickHouse demo instance (otel_demo with empty password)
@@ -147,7 +149,7 @@ jobs:
147149
E2E_FULLSTACK: 'true'
148150
E2E_UNIQUE_USER: 'true'
149151
E2E_API_HEALTH_CHECK_MAX_RETRIES: '60'
150-
MONGO_URI: mongodb://mongodb:27017/hyperdx-e2e
152+
MONGO_URI: mongodb://localhost:27017/hyperdx-e2e
151153
run: |
152154
cd packages/app
153155
yarn test:e2e --shard=${{ matrix.shard }}/4

0 commit comments

Comments
 (0)