Skip to content

Commit 8c26f9d

Browse files
committed
fix(ci): use npx instead of bunx for playwright execution
- Change from 'bunx playwright test' to 'npx playwright test' - npx properly finds locally installed playwright package - Fixes 'Cannot find package @playwright/test' error in CI
1 parent eea390d commit 8c26f9d

File tree

2 files changed

+17
-16
lines changed

2 files changed

+17
-16
lines changed

frontend/.gitignore

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
1+
.DS_Store
12
node_modules
2-
3-
# Output
4-
.output
5-
.vercel
63
/.svelte-kit
74
/build
8-
9-
# OS
10-
.DS_Store
11-
Thumbs.db
12-
13-
# Env
14-
.env.local
5+
.env
6+
.env.*
157
!.env.example
168
!.env.test
17-
18-
# Vite
199
vite.config.js.timestamp-*
2010
vite.config.ts.timestamp-*
2111

22-
# Sentry Config File
23-
.env.sentry-build-plugin
12+
# Playwright
13+
/test-results/
14+
/playwright-report/
15+
/playwright/.cache/
16+
/.auth/
17+
tests/.env
18+
19+
# Test output files
20+
test-*.log
21+
test_output.log
22+
test-results.json
23+
test-run.log
24+
test-final.log

frontend/run-e2e-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ for test_file in "${TEST_FILES[@]}"; do
4646
echo -e "${YELLOW}Running: $test_file${NC}"
4747
echo "----------------------------------------"
4848

49-
if bunx playwright test "$test_file" --reporter=list; then
49+
if npx playwright test "$test_file" --reporter=list; then
5050
echo -e "${GREEN}$test_file passed${NC}"
5151
else
5252
echo -e "${RED}$test_file failed${NC}"

0 commit comments

Comments
 (0)