ssw
aaa13e567d
v17: 端到端验证 _helpers/ 标准库 (workSystem/lbbq, 4/4 PASS)
新增:
- tests/e2e/v17-stdlib-verify.spec.ts (端到端验证 spec, 3 tests)
- tests/e2e/auth.setup.ts 改 workSystem (tds DB 已重置, 2026-06-15)
- _helpers/auth.ts 默认 appCode 改 workSystem
修改:
- _helpers/auth.ts APP_LOGIN_PATH 默认 tds → workSystem
验证结果 (workSystem/lbbq, webType=1 但有 4 字段可填):
✓ test 1 (9.5s) 首页 + clickMenu 导航 (1.3s)
✓ test 2 (16.0s) 列表 → +新增 → 填 4 字段 → 保存 → 行数 0→1 (modal 822ms)
✓ test 3 (13.8s) waitRowCountChange 智能等: 565ms (vs 盲等 2000ms)
✓ setup (0.2s) storageState 复用 (跳 UI 登录)
证明 _helpers/ 库 7 核心 API 真实可用:
clickMenu / clickAdd / waitFormModalReady
fillByLabel / selectByLabel / fillTextareaByLabel / fillNumberByLabel
saveModal / waitModalClose
countRows / getTotalText / waitRowCountChange
typecheck 干净