36 lines
570 B
TypeScript
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
|
|
}
|
|
};
|