feat: Execute zone - Playwright PC Web + Appium mobile + AI screenshot diff + test conclusion reports

- Add 3 new agents: web-executor, mobile-executor, result-reporter
- web-executor: Playwright multi-browser (Chromium/Firefox/WebKit) automated scripts
- mobile-executor: Appium dual-platform (Android/iOS) automated scripts
- result-reporter: pixel-level AI visual comparison + test conclusion report with screenshots
- Auto-generate executable Python test scripts from Markdown test cases
- Screenshot strategies: on-failure (default) + on-step (optional)
- Visual diff grading: <1% pass / 1-5% minor / 5-15% UI_DIFF / >15% blocker
- Failure multi-classification: REAL_BUG/UI_DIFF/ENV_ISSUE/DATA_ISSUE/CASE_BUG/SCRIPT_ERROR
- requirements.txt: add playwright + Pillow
- Fleet now: 17 agents across 6 battle zones
This commit is contained in:
xst
2026-07-10 11:03:58 +08:00
parent b2a035c4f9
commit 4f30b9d702
12 changed files with 968 additions and 8 deletions
+20 -1
View File
@@ -75,6 +75,25 @@ AGENT_REGISTRY: dict[str, dict[str, Any]] = {
"name": "数据构造师",
"description": "精确测试数据集构造",
},
# ── Execute ──
"web-executor": {
"zone": "execute",
"path": "execute/web_executor.md",
"name": "Web 自动化执行师",
"description": "PC Web 端 Playwright 自动化测试执行 + 截图采集",
},
"mobile-executor": {
"zone": "execute",
"path": "execute/mobile_executor.md",
"name": "移动端自动化执行师",
"description": "Android/iOS APP Appium 自动化测试执行 + 截图采集",
},
"result-reporter": {
"zone": "execute",
"path": "execute/result_reporter.md",
"name": "测试结果报告师",
"description": "截图对比 + AI 视觉验证 + 测试结论报告",
},
# ── Review ──
"case-reviewer": {
"zone": "review",
@@ -136,7 +155,7 @@ def list_zone_agents(zone: str) -> list[str]:
def list_all_agents() -> dict[str, list[str]]:
"""按战区分组列出所有 Agent。"""
result: dict[str, list[str]] = {}
for zone in ["prepare", "analyze", "design", "review", "monitor"]:
for zone in ["prepare", "analyze", "design", "execute", "review", "monitor"]:
result[zone] = list_zone_agents(zone)
return result