feat: 管理后台接真实接口并加 Playwright e2e

This commit is contained in:
Nixevol
2026-09-30 09:20:01 +08:00
parent a22912d95a
commit b75b67928b
24 changed files with 1299 additions and 71 deletions
+31
View File
@@ -0,0 +1,31 @@
version: "3"
tasks:
e2e:
desc: Playwright 后台主路径端到端(起临时 nixmsg + Vite 代理)
dir: web
cmds:
- pnpm install
- pnpm exec playwright install chromium
- pnpm run test:e2e
typecheck:
desc: 前端 vue-tsc
dir: web
cmds:
- pnpm install
- pnpm run typecheck
lint:
desc: 前端 ESLint
dir: web
cmds:
- pnpm install
- pnpm run lint
unit:
desc: 前端 Vitest
dir: web
cmds:
- pnpm install
- pnpm run test