Skip to content

Commit 4af7437

Browse files
feat: install chromium before running playwright
1 parent 834d390 commit 4af7437

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"start": "vite",
99
"build": "vite build",
1010
"preview": "vite preview",
11-
"test": "npm run build && playwright test",
12-
"test:ui": "npm run build && playwright test --ui",
11+
"test": "npx playwright install chromium && npm run build && playwright test",
12+
"test:ui": "npx playwright install chromium && npm run build && playwright test --ui",
1313
"test:report": "playwright show-report",
1414
"gh-pages": "npm run build && git add docs && git commit -m 'update github pages' docs && git push"
1515
},

0 commit comments

Comments
 (0)