2022-05-17 05:22:13 +02:00
|
|
|
// tslint:disable-next-line: no-implicit-dependencies
|
|
|
|
import { PlaywrightTestConfig } from '@playwright/test';
|
2022-08-18 08:53:47 +02:00
|
|
|
import { toNumber } from 'lodash';
|
2022-05-17 05:22:13 +02:00
|
|
|
|
|
|
|
const config: PlaywrightTestConfig = {
|
|
|
|
timeout: 350000,
|
2022-01-17 06:34:27 +01:00
|
|
|
globalTimeout: 6000000,
|
|
|
|
reporter: 'list',
|
|
|
|
testDir: './ts/test/automation',
|
|
|
|
testIgnore: '*.js',
|
|
|
|
outputDir: './ts/test/automation/test-results',
|
2023-05-16 06:26:03 +02:00
|
|
|
retries: process.env.PLAYWRIGHT_RETRIES_COUNT
|
|
|
|
? toNumber(process.env.PLAYWRIGHT_RETRIES_COUNT)
|
|
|
|
: 1,
|
|
|
|
|
2022-08-18 08:53:47 +02:00
|
|
|
workers: toNumber(process.env.PLAYWRIGHT_WORKER_COUNT) || 1,
|
2022-05-17 05:22:13 +02:00
|
|
|
reportSlowTests: null,
|
2022-01-17 06:34:27 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = config;
|