LoopForge
LoopForge copied to clipboard
[Feature]: 需要补充E2E测试用例
Problem
CI Check不充分, 合入人工测试容易遗漏
Proposed behavior
合入前做充分的E2E测试, 再由人工Review
Scope
Shared behavior contract
Alternatives considered
No response
Checks
- [x] This proposal does not require organization-specific infrastructure or credentials.
- [x] I searched existing issues and discussions for similar proposals.
E2E 用例已补齐,分两步合入 main:
- #41(P0):新增确定性的 E2E 套件
bash scripts/e2e.sh。用npm pack打包后安装到临时目录,按用户真实的安装方式跑,覆盖安装 / 升级 / 卸载、5 个 Agent 的完整工作流、resume、失败路径、classic 自动派发、看板访问,并接入 CI,汇总检查为e2e-required。 - #42(P1):补了 small / large / manual 模式的 E2E,用 Playwright 渲染并检查看板,CI 增加 macOS 和 Node 20 组合;修复了 6 个失败的看板单测,129 个看板测试全部接入 CI,测试不再往源码目录写日志。
剩下一项跟进:把 e2e-required 设为 main 的必过检查,需要 Admin 操作,见 #43。
这个 issue 先关闭了。