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 干净
|
2026-06-15 15:27:15 +08:00 |
|
ssw
|
c98ad4f425
|
init: TS 版 dacli v0.7 baseline (8 父命令/26+ 子命令, 0.4MB, .claude/skills/dacli-ts)
参考 boot/ 仓库结构初始化, 同步到 gitea:3000/ssw/dacli (private).
包括:
- src/ 8 父命令 (form/menu/dm/dict/di/apis/doc/workflow + login/status) + core (client/crypto/help/log/types/config)
- src/schema/ FieldBuilder (从 JNPF web 源码提取, 避免 53 个手写 builder)
- tests/ vitest 单元 + playwright E2E (含 workSystem/developSystem baseline regression)
- scripts/ extract-all.mjs (从 jnpf-web 源码生成 schema) + seed-tds-baseline.ts
- doc/ architecture/plan/api/extractors/baseline/RESUME/help-system + v0.6/v0.7 changelog
- .claude/skills/dacli-ts/ Claude 集成 skill (SKILL.md + 5 references + 7 examples + 3 baseline)
- CLAUDE.md (项目说明) + README.md + prompt.md (开发任务说明书)
- 配置文件: package.json/lock, tsconfig, vitest.config, playwright.config
|
2026-06-12 18:26:39 +08:00 |
|