test(e2e): 前后台联调 Playwright 与 admin 冒烟
新增 e2e-live 真 API 一致性全路径,并为 admin-h5 增加 mock 浏览器冒烟。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user