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

36 lines
570 B
TypeScript

import { TestConfig } from '../types';
export const defaultConfig: TestConfig = {
baseURL: 'http://localhost:3000',
timeout: 5000,
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
}
};