接入 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
+2 -1
View File
@@ -59,10 +59,11 @@ npm test
npm run test:coverage
npm run lint
npx tsc --noEmit
npm run test:e2e:install
npm run test:e2e
```
> `test:e2e` 使用 Playwright。当前仓库通过 `npx playwright test` 运行,在可联网环境会自动拉取所需依赖
> `test:e2e` 使用 Playwright(固定 `1.51.1` 版本)。首次执行需要网络下载 Playwright CLI 与 Chromium
## Project Structure