Commit Graph

21 Commits

Author SHA1 Message Date
张翔 3991b34841 ci: add coverage trend monitoring 2026-03-10 12:45:56 +08:00
张翔 4ece85a9c3 feat: 添加生产环境部署和监控配置
- 新增生产环境部署脚本和文档
- 添加监控系统配置(Alertmanager, Prometheus, Grafana)
- 更新e2e测试用例以适配新环境
- 添加.env.production配置文件
- 优化Sentry初始化逻辑为动态加载
- 新增全局设置脚本以支持不同环境
2026-03-09 16:37:23 +08:00
张翔 4897c6e11c feat: 建立监控告警体系和生产环境配置
阶段三:建立监控告警体系
- 集成Sentry错误监控:安装依赖,创建配置文件,初始化Sentry
- 配置性能监控:创建监控工具类,实现健康检查API
- 更新环境变量模板,添加Sentry和数据库配置

阶段四:配置生产环境
- 创建生产环境变量模板
- 创建Dockerfile和docker-compose.prod.yml
- 创建备份和恢复脚本
- 设置脚本执行权限
2026-03-09 11:00:42 +08:00
张翔 6d92024b63 feat: 修复测试套件问题并添加Woodpecker CI配置
- 修复API测试认证问题:创建全局认证设置,更新Playwright配置
- 优化回归测试稳定性:增加超时时间到15秒,修复定位器
- 创建Woodpecker CI工作流:CI、部署和质量门禁配置
- 添加Jest配置和测试脚本
- 移除登录页面的默认账号密码显示(安全问题修复)
2026-03-09 10:26:02 +08:00
张翔 724cd7f27a chore: add color contrast testing scripts and update dependencies 2026-03-07 10:46:27 +08:00
张翔 336802d65a feat: add heading hierarchy checker script and npm script 2026-03-06 20:54:34 +08:00
张翔 cbbc6e8824 feat: add color contrast checking script for CI/CD
- Added scripts/check-color-contrast.ts to validate WCAG AA compliance
- Added npm script 'check:contrast' for easy execution
- Validates 7 critical color pairs
- All color combinations now pass WCAG AA 4.5:1 standard
2026-03-06 20:25:52 +08:00
张翔 4c8714c12d feat: complete system test fixes - 100% pass rate (85/85)
- Fixed all form tests (20/20 passing)
- Fixed all performance tests (35/35 passing)
- Fixed all SEO and accessibility tests (30/30 passing)
- Enhanced test framework with custom reporting
- Added performance baseline tracking
- Improved test reliability and error handling
2026-03-06 19:37:02 +08:00
张翔 33568b38a4 chore: remove old scripts directory (backed up to scripts.backup) 2026-03-06 12:55:55 +08:00
张翔 71560b016b fix: correct lighthouse result structure access 2026-03-06 11:24:51 +08:00
张翔 db992cf4fb fix: correct lighthouse and chrome-launcher imports 2026-03-06 11:22:19 +08:00
张翔 4036b286a0 fix: add missing fs and path imports to scripts 2026-03-06 10:19:22 +08:00
张翔 54bdafa47f fix: correct score calculation in accessibility test 2026-03-06 10:17:49 +08:00
张翔 e82f5b26aa fix: use browser.newContext() for axe-core/playwright compatibility 2026-03-06 10:17:09 +08:00
张翔 755e0889a5 docs: add testing scripts documentation 2026-03-06 10:12:53 +08:00
张翔 614fa8f85e feat: add one-click test runner script 2026-03-06 10:09:44 +08:00
张翔 dc41aaf04e feat: add comprehensive test report generator 2026-03-06 10:09:04 +08:00
张翔 7e023f0bf1 feat: add form validation testing script 2026-03-06 10:07:52 +08:00
张翔 4b84f28065 feat: add accessibility testing script with axe-core 2026-03-06 10:05:10 +08:00
张翔 2202d4045b feat: add SEO validation script 2026-03-06 10:04:06 +08:00
张翔 0bedc7e023 feat: add performance audit script with Lighthouse 2026-03-06 10:02:58 +08:00