张翔
e8dffa4f05
chore: remove GitHub Actions workflows, use Woodpecker CI exclusively
2026-03-10 13:10:11 +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
张翔
0175799004
docs: 删除过时的文档和测试报告文件
...
删除不再需要的文档、测试报告和计划文件,包括标题层级规范、颜色优化报告、测试框架文档等
2026-03-07 15:37:19 +08:00
张翔
11b0123c20
feat: add visual regression test snapshots
...
Add Playwright visual regression test baseline snapshots for:
- Contact page (22 snapshots)
- Home page (18 snapshots)
- Visual regression suite (35 snapshots)
Total: 75 baseline snapshots (~9.6MB)
These snapshots serve as visual regression testing baselines and should
be committed to version control according to Playwright best practices.
Benefits:
- Ensures UI consistency across changes
- Detects unintended visual changes
- Provides baseline for cross-browser testing
- Enables team collaboration with consistent snapshots
Following Playwright documentation:
https://playwright.dev/docs/test-snapshots
Snapshots are stored in:
- e2e/src/tests/visual/contact-page.visual.spec.ts-snapshots/
- e2e/src/tests/visual/home-page.visual.spec.ts-snapshots/
- e2e/src/tests/visual/visual-regression.spec.ts-snapshots/~
2026-03-07 15:16:16 +08:00
张翔
92af40df8e
fix: resolve test failures and improve test stability
...
- Fix navigation menu display and click issues
- Fix scroll to top/bottom test failures
- Fix section display tests by removing non-existent contact section
- Add data-testid attributes for better test reliability
- Optimize test expectations for scroll behavior
- Add contact page layout for metadata export
- Update section components with proper ARIA attributes
2026-03-07 10:47:14 +08:00
张翔
b7d400ea44
test: add test results analysis script
2026-03-07 07:17:34 +08:00
张翔
c4d135d37e
fix: optimize test timeouts and wait conditions for better stability
2026-03-05 23:00:32 +08:00
张翔
c678df44ae
fix: improve footer visibility with data-testid and waitForFooter method
2026-03-05 22:53:12 +08:00
张翔
f91f57cbbb
fix: improve scrollToSection and skip Contact section test on home page
2026-03-05 22:49:32 +08:00
张翔
44e756aa3b
fix: improve scrollToTop implementation and test expectations
2026-03-05 22:14:23 +08:00
张翔
2d6cd79067
fix: add name and data-testid attributes for form input fields
2026-03-05 21:51:50 +08:00
张翔
318081a62a
fix: add data-testid attributes for contact page elements
2026-03-05 21:49:12 +08:00
张翔
2f6f6a6aca
fix: add navigation role attribute for better test selector
2026-03-05 20:59:25 +08:00
张翔
a3533a8c98
fix: resolve transferSize TypeScript error in mobile performance test
2026-03-05 16:43:04 +08:00
张翔
941e5170e1
fix: resolve remaining TypeScript errors in mobile testing~
2026-03-05 16:42:16 +08:00
张翔
c4fcbb6059
fix: resolve TypeScript type errors in mobile testing utilities~
2026-03-05 16:31:47 +08:00
张翔
8bca0e0af4
docs: add mobile testing guide
2026-03-05 16:09:20 +08:00
张翔
94204a1a45
feat: optimize parallel test execution
2026-03-05 16:02:16 +08:00
张翔
597a39d3ec
feat: implement HTML report generation in MobileTestReporter
2026-03-05 16:01:27 +08:00
张翔
8a43c0f5c2
feat: create MobileTestReporter base structure
2026-03-05 15:58:25 +08:00
张翔
9e5d61cfed
feat: add mobile network environment test suite
2026-03-05 15:50:05 +08:00
张翔
0074a9aab1
feat: add mobile PWA functionality test suite
2026-03-05 15:48:07 +08:00
张翔
edb8b249f8
feat: add mobile gesture interaction test suite
2026-03-05 15:30:13 +08:00
张翔
57c002b26c
feat: add mobile compatibility test suite
2026-03-05 15:28:51 +08:00
张翔
8611f84b48
feat: add mobile performance test suite
2026-03-05 15:27:55 +08:00
张翔
834dbcadf4
feat: implement Core Web Vitals monitoring in MobilePerformanceMonitor
2026-03-05 15:23:16 +08:00
张翔
3f18618c84
feat: create MobilePerformanceMonitor base structure
2026-03-05 15:21:29 +08:00
张翔
858eb2efcf
feat: implement network condition simulation in NetworkSimulator
2026-03-05 15:20:40 +08:00
张翔
06c5fe8f82
feat: integrate Lighthouse in MobilePerformanceMonitor
2026-03-05 15:15:22 +08:00
张翔
8194317a20
feat: implement Core Web Vitals monitoring in MobilePerformanceMonitor
2026-03-05 15:12:33 +08:00
张翔
478adb1986
feat: create MobilePerformanceMonitor base structure
2026-03-05 15:11:22 +08:00
张翔
01d966bed3
feat: implement network condition simulation in NetworkSimulator
2026-03-05 15:10:02 +08:00
张翔
dd9ccfe8b3
feat: create NetworkSimulator base structure
2026-03-05 15:05:50 +08:00
张翔
531cd1567a
feat: implement drag gesture in GestureSimulator
2026-03-05 15:04:29 +08:00
张翔
12ff5fc1f3
feat: implement long press and double tap gestures
2026-03-05 14:59:06 +08:00
张翔
302fafef49
feat: implement pinch gesture in GestureSimulator
2026-03-05 14:58:28 +08:00
张翔
656480a95d
feat: implement swipe gesture in GestureSimulator
2026-03-05 14:51:33 +08:00
张翔
f2bd48f634
feat: create GestureSimulator base structure
2026-03-05 14:46:55 +08:00
张翔
56d1172588
feat: extend Playwright config for mobile testing
2026-03-05 14:36:02 +08:00
张翔
726579a833
feat: add mobile test data generator
2026-03-05 14:34:44 +08:00
张翔
c4d758ad6e
feat: add network configuration for mobile testing
2026-03-05 14:32:46 +08:00
张翔
7777675e3e
feat: add iPad device configurations (iPad Air, iPad Pro 12.9)
2026-03-05 14:31:54 +08:00
张翔
0de19b4371
feat: add Android device configurations (Pixel 7, Galaxy S23)
2026-03-05 14:30:47 +08:00
张翔
fa77f36b4d
feat: add iPhone 13/14/15 Pro device configurations
2026-03-05 14:29:34 +08:00
张翔
060566fd73
chore: clean up mobile test files and update components
2026-03-05 14:23:19 +08:00
张翔
6797c24b5c
feat: 添加移动端适配和测试功能
...
refactor(layout): 优化页脚布局和备案信息展示
feat(constants): 添加ICP备案和公安备案信息
feat(header): 实现移动端加载时的骨架屏效果
style(globals): 调整文字颜色和添加移动端响应样式
feat(breadcrumb): 增加返回按钮和响应式优化
feat(e2e): 添加移动端测试工具和测试用例
docs: 添加页脚重设计文档
2026-03-05 11:40:21 +08:00
张翔
9cbc80742a
feat: 重构联系页面并增强安全性
...
refactor: 优化导航和路由逻辑
fix: 修复移动端样式问题
perf: 优化字体加载和性能
test: 添加安全性和可访问性测试
style: 调整按钮和表单样式
chore: 更新依赖版本
ci: 添加安全头配置
build: 优化构建配置
docs: 更新常量信息
2026-03-01 10:56:54 +08:00
张翔
13c4a2ca49
feat: 优化网站性能、响应式设计和测试覆盖率
...
- 更新next.config.ts配置以优化图片和静态资源
- 优化字体加载策略,减少首屏阻塞
- 使用Next.js Image组件替换img标签并实现懒加载
- 重构移动端菜单交互,提升触摸体验
- 新增安全测试和可访问性测试用例
- 修复导航栏滚动定位问题
- 更新部署就绪测试脚本
- 添加相关文档说明优化细节
2026-02-28 22:32:45 +08:00