Developer
|
f97b8a818a
|
feat: Playwright三Agent深度应用 — 全流程测试覆盖知识库到证书展示
Agent应用:
Generator — codegen 录制UI交互 locator 模板
Planner — test.describe.serial 编排6阶段18用例
(前置/模板/题库/API考核/UI全流程/设置页)
Healer — trace on + retries 1 + screenshot on failure
测试覆盖:
0. 前置准备 — 模板存在性/题库容量/评分标准完整性
1. 考核模板 — 维度配置/attemptLimit/题数
2. 题库内容 — MC+SA/评分标准/各维度充足
3. API考核 — 创建考生/出题/答题/证书/历史记录
4. UI全流程 — 登录/选模板/答题(MC+SA+追问)/结果展示
5. 设置页 — 测评模板Tab可见性
结果: 15/18 passed (2.2min), 1 flaky(UI答题状态复用)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
2026-06-16 13:47:01 +08:00 |
|