新增 E2E 测试配置与用例并更新测试补充文档

This commit is contained in:
2026-03-03 13:56:07 +08:00
parent 482307f2f4
commit fe3016d710
10 changed files with 149 additions and 2 deletions
+12
View File
@@ -52,6 +52,18 @@ npm run dev
Open [http://localhost:3000](http://localhost:3000) in your browser (best viewed on mobile viewport).
## Testing
```bash
npm test
npm run test:coverage
npm run lint
npx tsc --noEmit
npm run test:e2e
```
> `test:e2e` 使用 Playwright。当前仓库通过 `npx playwright test` 运行,在可联网环境会自动拉取所需依赖。
## Project Structure
```