接入 E2E 门禁并固定 Playwright 执行版本

This commit is contained in:
2026-03-03 14:06:40 +08:00
parent fe3016d710
commit c4c1cb400b
5 changed files with 20 additions and 4 deletions
+3 -2
View File
@@ -10,8 +10,9 @@
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:e2e": "npx playwright test",
"test:e2e:headed": "npx playwright test --headed"
"test:e2e:install": "npx -y playwright@1.51.1 install chromium",
"test:e2e": "npx -y playwright@1.51.1 test",
"test:e2e:headed": "npx -y playwright@1.51.1 test --headed"
},
"dependencies": {
"@dnd-kit/core": "^6.3.1",