Skip to content

Commit 5b03e91

Browse files
Fix Playwright install: use PLAYWRIGHT_BROWSERS_PATH for non-root runner
1 parent 3a903d8 commit 5b03e91

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

e2e/testcafe-devextreme/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "26.1.0",
44
"scripts": {
55
"test": "ts-node ./runner.ts",
6-
"posttest": "echo '=== PLAYWRIGHT POC ===' && npx playwright install chromium --with-deps 2>/dev/null; npx playwright test --config playwright.config.ts playwright-tests/scheduler/common/month/ --reporter=list --update-snapshots 2>&1 | tee playwright-run.log; echo '=== PLAYWRIGHT DONE ==='",
6+
"posttest": "echo '=== PLAYWRIGHT POC ===' && PLAYWRIGHT_BROWSERS_PATH=./pw-browsers pnpm exec playwright install chromium 2>&1 || true; PLAYWRIGHT_BROWSERS_PATH=./pw-browsers pnpm exec playwright test --config playwright.config.ts playwright-tests/scheduler/common/month/ --reporter=list --update-snapshots 2>&1 | tee playwright-run.log; echo '=== PLAYWRIGHT DONE ==='",
77
"test:playwright": "npx playwright test --config playwright.config.ts --reporter=list",
88
"lint": "eslint",
99
"update-failed-etalons": "node update_failed_etalons.mjs"

0 commit comments

Comments
 (0)