- Raise use-swipe-gesture mutation score to 66.13% (target 65%+) - Maintain use-reduced-motion mutation score at 76.32% (target 50%+) - Fix use-reduced-motion.ts ESLint set-state-in-effect warning - Add UJ-10 deep searcher journey (category browse → article read → content discovery) - Add 40 new test files (analytics, detail, sections, ui, lib components) - Update test-strategy-plan.md to v2.0 (sync test count to 1591) - Sync README.md with final release metrics Quality gates: TS 0 errors, ESLint 0 errors, 121 suites / 1591 tests passed
37 lines
720 B
TypeScript
37 lines
720 B
TypeScript
// @ts-nocheck
|
|
export const formData = {
|
|
valid: {
|
|
name: '测试用户',
|
|
email: 'test@example.com',
|
|
phone: '13800138000',
|
|
message: '这是一条测试消息,用于测试表单提交功能'
|
|
},
|
|
invalid: {
|
|
email: 'invalid-email',
|
|
phone: '123',
|
|
empty: ''
|
|
}
|
|
};
|
|
|
|
export const performanceThresholds = {
|
|
loadTime: 4000,
|
|
domContentLoaded: 2500,
|
|
firstContentfulPaint: 2000,
|
|
largestContentfulPaint: 3000,
|
|
cumulativeLayoutShift: 0.1,
|
|
firstInputDelay: 100
|
|
};
|
|
|
|
export const accessibilityThresholds = {
|
|
score: 80,
|
|
maxViolations: 5
|
|
};
|
|
|
|
export const seoThresholds = {
|
|
score: 80,
|
|
minTitleLength: 10,
|
|
maxTitleLength: 60,
|
|
minDescriptionLength: 50,
|
|
maxDescriptionLength: 160
|
|
};
|