Files
novalon-website/test-framework/shared/config/test-data.ts
T
2026-03-06 12:05:51 +08:00

36 lines
672 B
TypeScript

export const formData = {
valid: {
name: '测试用户',
email: 'test@example.com',
phone: '13800138000',
message: '这是一条测试消息'
},
invalid: {
email: 'invalid-email',
phone: '123',
empty: ''
}
};
export const performanceThresholds = {
loadTime: 3000,
domContentLoaded: 2000,
firstContentfulPaint: 1500,
largestContentfulPaint: 2500,
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
};