Files
张翔 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

36 lines
571 B
TypeScript

import { TestConfig } from '../types';
export const defaultConfig: TestConfig = {
baseURL: 'http://localhost:3000',
timeout: 10000,
retries: 3,
environment: 'development',
headless: true,
slowMo: undefined
};
export const testTimeouts = {
short: 2000,
medium: 5000,
long: 10000,
veryLong: 30000
};
export const testThresholds = {
performance: {
good: 90,
needsImprovement: 50,
poor: 0
},
accessibility: {
good: 95,
needsImprovement: 80,
poor: 0
},
seo: {
good: 90,
needsImprovement: 70,
poor: 0
}
};