Commit Graph

5 Commits

Author SHA1 Message Date
张翔 232f48126e fix: 创建缺失的E2E测试分层配置文件
ci/woodpecker/push/woodpecker Pipeline failed
问题根本原因:
- e2e/playwright.config.tiered.ts 文件不存在
- CI Pipeline的e2e-standard步骤引用了该配置文件
- 导致E2E测试无法执行

修复方案:
- 创建 playwright.config.tiered.ts 配置文件
- 支持三个测试层级: fast/standard/deep
- 根据TEST_TIER环境变量动态调整配置
  - fast: 15s超时, 0重试, 2并发
  - standard: 30s超时, 1重试, 1并发
  - deep: 60s超时, 2重试, 1并发

验证:
- 配置文件语法正确
- 支持环境变量配置

Ralph Loop #2 完成
2026-03-29 09:54:18 +08:00
张翔 7a38eae6e0 chore: 删除e2e测试相关的初始化文件和快照文件
清理不再需要的测试初始化文件和视觉回归测试的快照文件,以保持代码库整洁
2026-03-27 09:56:57 +08:00
张翔 ac2672729f feat: 实现内容管理API及相关功能
refactor(services-section): 重构服务展示组件使用API数据
refactor(news-section): 重构新闻展示组件使用API数据
refactor(products-section): 重构产品展示组件使用API数据

test: 添加API客户端和服务钩子的单元测试
test(e2e): 添加配置验证和API响应格式的端到端测试

ci: 更新Playwright测试配置
2026-03-13 18:55:25 +08:00
张翔 33a2dd454f feat: integrate test history recording into test execution 2026-03-13 11:38:00 +08:00
张翔 31e8682007 feat: add test tier configuration and tiered playwright config 2026-03-13 11:24:40 +08:00