Skip to content

Commit f00c040

Browse files
committed
fix: keep playwright install stderr for debugging
Playwright install stderr is diagnostic signal — version/network errors, missing system libs, or browser download failures all surface here. Only suppress stderr on the noisy npm install step. Also pin the image-tag / client-version relationship with a code comment on one compose file so future bumps know to keep them aligned.
1 parent e051812 commit f00c040

13 files changed

Lines changed: 20 additions & 13 deletions

File tree

examples/integrations/adk/docker-compose.test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ services:
6666
[
6767
"bash",
6868
"-c",
69-
"cd /tests && npm install --no-audit --no-fund 2>/dev/null && npx playwright install chromium 2>/dev/null && npx playwright test starter-smoke --reporter=list",
69+
"cd /tests && npm install --no-audit --no-fund 2>/dev/null && npx playwright install chromium && npx playwright test starter-smoke --reporter=list",
7070
]
7171

7272
volumes:

examples/integrations/agno/docker-compose.test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ services:
6666
[
6767
"bash",
6868
"-c",
69-
"cd /tests && npm install --no-audit --no-fund 2>/dev/null && npx playwright install chromium 2>/dev/null && npx playwright test starter-smoke --reporter=list",
69+
"cd /tests && npm install --no-audit --no-fund 2>/dev/null && npx playwright install chromium && npx playwright test starter-smoke --reporter=list",
7070
]
7171

7272
volumes:

examples/integrations/crewai-crews/docker-compose.test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ services:
6666
[
6767
"bash",
6868
"-c",
69-
"cd /tests && npm install --no-audit --no-fund 2>/dev/null && npx playwright install chromium 2>/dev/null && npx playwright test starter-smoke --reporter=list",
69+
"cd /tests && npm install --no-audit --no-fund 2>/dev/null && npx playwright install chromium && npx playwright test starter-smoke --reporter=list",
7070
]
7171

7272
volumes:

examples/integrations/langgraph-fastapi/docker-compose.test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ services:
7070
[
7171
"bash",
7272
"-c",
73-
"cd /tests && npm install --no-audit --no-fund 2>/dev/null && npx playwright install chromium 2>/dev/null && npx playwright test starter-smoke --reporter=list",
73+
"cd /tests && npm install --no-audit --no-fund 2>/dev/null && npx playwright install chromium && npx playwright test starter-smoke --reporter=list",
7474
]
7575

7676
volumes:

examples/integrations/langgraph-js/docker-compose.test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ services:
6969
[
7070
"bash",
7171
"-c",
72-
"cd /tests && npm install --no-audit --no-fund 2>/dev/null && npx playwright install chromium 2>/dev/null && npx playwright test starter-smoke --reporter=list",
72+
"cd /tests && npm install --no-audit --no-fund 2>/dev/null && npx playwright install chromium && npx playwright test starter-smoke --reporter=list",
7373
]
7474

7575
volumes:

examples/integrations/langgraph-python-threads/docker-compose.test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ services:
6969
[
7070
"bash",
7171
"-c",
72-
"cd /tests && npm install --no-audit --no-fund 2>/dev/null && npx playwright install chromium 2>/dev/null && npx playwright test starter-smoke --reporter=list",
72+
"cd /tests && npm install --no-audit --no-fund 2>/dev/null && npx playwright install chromium && npx playwright test starter-smoke --reporter=list",
7373
]
7474

7575
volumes:

examples/integrations/langgraph-python/docker-compose.test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ services:
6969
[
7070
"bash",
7171
"-c",
72-
"cd /tests && npm install --no-audit --no-fund 2>/dev/null && npx playwright install chromium 2>/dev/null && npx playwright test starter-smoke --reporter=list",
72+
"cd /tests && npm install --no-audit --no-fund 2>/dev/null && npx playwright install chromium && npx playwright test starter-smoke --reporter=list",
7373
]
7474

7575
volumes:

examples/integrations/llamaindex/docker-compose.test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ services:
6666
[
6767
"bash",
6868
"-c",
69-
"cd /tests && npm install --no-audit --no-fund 2>/dev/null && npx playwright install chromium 2>/dev/null && npx playwright test starter-smoke --reporter=list",
69+
"cd /tests && npm install --no-audit --no-fund 2>/dev/null && npx playwright install chromium && npx playwright test starter-smoke --reporter=list",
7070
]
7171

7272
volumes:

examples/integrations/mastra/docker-compose.test.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ services:
3232
start_period: 60s
3333

3434
tests:
35+
# The image tag (playwright:v1.52.0-noble) pins both the browser binaries
36+
# and the system libs bundled in the image. It MUST stay aligned with the
37+
# @playwright/test version declared in showcase/tests/package.json — if
38+
# the client drifts to a newer version whose required system libs are
39+
# missing from this image, `npx playwright install chromium` will fetch
40+
# the matching browser binary but cannot install system libs. Bump both
41+
# together, or re-add `--with-deps` for that run.
3542
image: mcr.microsoft.com/playwright:v1.52.0-noble
3643
working_dir: /tests
3744
volumes:
@@ -47,7 +54,7 @@ services:
4754
[
4855
"bash",
4956
"-c",
50-
"cd /tests && npm install --no-audit --no-fund 2>/dev/null && npx playwright install chromium 2>/dev/null && npx playwright test starter-smoke --reporter=list",
57+
"cd /tests && npm install --no-audit --no-fund 2>/dev/null && npx playwright install chromium && npx playwright test starter-smoke --reporter=list",
5158
]
5259

5360
volumes:

examples/integrations/ms-agent-framework-dotnet/docker-compose.test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ services:
6969
[
7070
"bash",
7171
"-c",
72-
"cd /tests && npm install --no-audit --no-fund 2>/dev/null && npx playwright install chromium 2>/dev/null && npx playwright test starter-smoke --reporter=list",
72+
"cd /tests && npm install --no-audit --no-fund 2>/dev/null && npx playwright install chromium && npx playwright test starter-smoke --reporter=list",
7373
]
7474

7575
volumes:

0 commit comments

Comments
 (0)