@tshifhiwa/ohrm-ui-automation-framework
Version:
Playwright and TypeScript–based test automation framework for validating core UI features and workflows of the OrangeHRM demo application.
32 lines (27 loc) • 906 B
text/typescript
import TimeoutManager from "./timeoutManager.js";
export const TIMEOUTS = {
test: TimeoutManager.timeout(45_000),
expect: TimeoutManager.timeout(40_000),
api: {
standard: TimeoutManager.timeout(10_000),
upload: TimeoutManager.timeout(60_000),
download: TimeoutManager.timeout(90_000),
healthCheck: TimeoutManager.timeout(3_000),
connection: TimeoutManager.timeout(8_000),
},
db: {
query: TimeoutManager.timeout(15_000),
transaction: TimeoutManager.timeout(30_000),
migration: TimeoutManager.timeout(120_000),
connection: TimeoutManager.timeout(10_000),
request: TimeoutManager.timeout(10_000),
poolAcquisition: TimeoutManager.timeout(10_000),
idle: TimeoutManager.timeout(10_000),
},
} as const;
export const {
test: TEST_TIMEOUT,
expect: EXPECT_TIMEOUT,
api: API_TIMEOUT,
db: DB_TIMEOUT,
} = TIMEOUTS;