feat: create UAT test directory structure and configuration
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
TEST_BASE_URL=http://localhost:3001
|
||||
API_BASE_URL=http://localhost:8080
|
||||
TEST_TIMEOUT=30000
|
||||
TEST_RETRY_COUNT=2
|
||||
HEADLESS_BROWSER=true
|
||||
@@ -0,0 +1,15 @@
|
||||
export interface UATConfig {
|
||||
baseURL: string;
|
||||
apiURL: string;
|
||||
timeout: number;
|
||||
retryCount: number;
|
||||
testDataPath: string;
|
||||
}
|
||||
|
||||
export const uatConfig: UATConfig = {
|
||||
baseURL: process.env.TEST_BASE_URL || 'http://localhost:3001',
|
||||
apiURL: process.env.API_BASE_URL || 'http://localhost:8080',
|
||||
timeout: parseInt(process.env.TEST_TIMEOUT || '30000'),
|
||||
retryCount: parseInt(process.env.TEST_RETRY_COUNT || '2'),
|
||||
testDataPath: './data'
|
||||
};
|
||||
Reference in New Issue
Block a user