zhangxiang
6bb7c557ee
test(qa): e2e 装配修正 + 集成/门禁测试与工具链重构
...
- e2e:修死选择器与蜜罐误命中、补断言、GA4/security-headers 用例诚实标注
skip 边界;新增 assert-helpers/fixtures/hydrated/primary-nav/touch-targets
等复用桩。
- 集成层:config/test/jest.integration.config.js + tests-integration/ 真库
一次性 SQLite 用例,teardown 守卫开发库指纹。
- 门禁工具链:jest.setup 归位到根、scripts/accessibility 全站 axe 节点计数、
check-brand-text-token/check-motion-constraints 机械守卫、stryker/lighthouse
配置收敛。
2026-09-28 10:48:08 +08:00
zhangxiang
3e629bd9ee
test(e2e): add GA4 tracking, mobile, user journey tests and update visual baselines
...
- Add GA4 event tracking E2E tests (4 cases: page view, form submit, button click, product page)
- Add mobile-specific E2E tests (16 cases: navigation, form, product browsing)
- Add user journey tests (UJ-01: homepage to contact, UJ-02: product discovery)
- Fix E2E test selectors and assertions for consistency
- Update visual regression baselines across all browsers (chromium/firefox/webkit)
- Update Playwright config for new test files
2026-07-31 20:24:57 +08:00
zhangxiang
2653a3730c
fix(regression): resolve dogfood findings across marketing, auth, e2e and docs
...
- Fix list-to-detail navigation on product/service/solution/case pages
- Fix soft 404 on service detail by removing (marketing)/loading.tsx and using force-dynamic
- Fix contact form submission feedback and news placeholder image handling
- Unify SSR/client authentication state in auth.ts
- Add "新闻动态" to main navigation
- Fix Playwright storageState path and Firefox footer link flakiness
- Add E2E coverage for nav dropdown, cases filter and auth token parsing
- Update visual regression baselines (desktop/tablet/mobile, chromium/webkit/firefox)
- Update README, lessons-learned and add REGRESSION_REPORT_2026-07-27.md
- Ignore .lighthouseci/ and heading-hierarchy-report.json
2026-07-27 07:39:11 +08:00
张翔
636bc4ecde
docs(test): 添加设计文档、测试规范与 E2E 测试套件
...
- 新增 ADR 架构决策记录 (Design DNA 集成与深化)
- 新增 CMS 系统设计文档
- 新增实施计划文档 (Phase1-3)
- 新增 Bain 品牌升级设计规格
- 新增 E2E 分层测试套件 (P1-P4)
- 新增视觉回归测试配置
- 新增光效分析、视觉验证等辅助脚本
- 更新验收测试报告
2026-07-07 06:54:25 +08:00
张翔
415a103a24
style(theme): 更新网站主题色彩方案与字体配置
...
- 调整主色调从 #1C1C1C 至 #1A1A1A,优化视觉层次
- 更新背景色系为暖白色调 (#FAFAF7, #F5F4F0 等)
- 配置中文字体栈,添加 serif 字体支持
- 优化文本颜色梯度,提升可读性
- 调整边框颜色,统一水墨风格
- 添加 Google Search Console 验证码配置项
- 新增桌面应用架构专家代理配置文件
- 重构 E2E 测试等待策略,提升稳定性
- 添加回归测试脚本,增强质量保障
2026-06-17 11:37:25 +08:00
张翔
9677c91511
test: 修复 E2E 验收测试选择器兼容性问题
...
- 更新 Logo 选择器支持多种 alt 文本格式(睿新致远/睿新致遠/novalon)
- 使用 data-testid 属性替代脆弱的 CSS 选择器
- 添加 fallback 机制提高测试稳定性
- 优化表单验证、导航、Footer 等测试用例
- 调整性能阈值和超时时间
测试结果: 11 passed (11.4s)
2026-05-19 17:56:36 +08:00
张翔
a88466965b
fix: E2E 测试支持环境变量 URL,可在本地运行
2026-04-21 07:41:14 +08:00
张翔
df8043c0df
feat: 添加E2E测试并优化Docker部署配置
...
- 新增Playwright E2E测试配置和测试脚本
- 优化Dockerfile和docker-compose.yml配置
- 新增novalon-nginx和novalon-website的docker-compose配置
- 优化contact页面和contact-section组件的代码结构
- 更新多个页面的SEO和元数据配置
- 添加备案图标资源
- 修复ESLint错误:转义引号、添加ESLint禁用注释、移除未使用变量
测试覆盖: 新增website-acceptance.spec.ts E2E测试
2026-03-27 12:39:30 +08:00