test(e2e): 前后台联调 Playwright 与 admin 冒烟
ci / h5 (push) Canceled after 0s
ci / api (push) Canceled after 0s
ci / ess-docs (push) Canceled after 0s

新增 e2e-live 真 API 一致性全路径,并为 admin-h5 增加 mock 浏览器冒烟。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
jackyu66git
2026-08-06 22:41:43 +08:00
co-authored by Cursor
parent 879bf70cb7
commit 7e9023f0a8
12 changed files with 400 additions and 1 deletions
+3
View File
@@ -4,6 +4,7 @@
"workspaces": [
"apps/user-h5",
"apps/admin-h5",
"e2e-live",
"packages/*"
],
"scripts": {
@@ -17,6 +18,8 @@
"deps:ps": "docker compose -f docker-compose.dev.yml ps",
"test:h5": "npm run test -w @yuxingu/user-h5",
"test:e2e": "npm run test:e2e -w @yuxingu/user-h5",
"test:e2e:admin": "npm run test:e2e -w @yuxingu/admin-h5",
"test:e2e:live": "npm run test -w @yuxingu/e2e-live",
"test:api": "cd apps/api && go test ./...",
"test:api:integration": "cd apps/api && go test ./internal/integration/ -count=1"
}