Files
digital-psychology/e2e-live/README.md
T
jackyu66gitandCursor 7e9023f0a8
ci / h5 (push) Canceled after 0s
ci / api (push) Canceled after 0s
ci / ess-docs (push) Canceled after 0s
test(e2e): 前后台联调 Playwright 与 admin 冒烟
新增 e2e-live 真 API 一致性全路径,并为 admin-h5 增加 mock 浏览器冒烟。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 22:41:43 +08:00

475 B
Raw Blame History

e2e-live — 前后台联调(真 API)

需要:

  1. npm run deps:up
  2. APIcd apps/api && go run ./cmd/server:8080,含 admin bootstrap
  3. 本套件会自动拉起 user-h5 :5173 与 admin-h5 :5174(已占用则复用)
npm install
npm run test:e2e:live

覆盖:画像 → 后台用户一致 → 前台开通会员 ↔ 后台订单/会员 → 后台授年卡 ↔ 前台年卡+审计 → 关系 → Ask → 量表 → 多页烟测。