mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01:00
20 lines
586 B
TypeScript
20 lines
586 B
TypeScript
// tslint:disable-next-line: no-implicit-dependencies
|
|
import { PlaywrightTestConfig } from '@playwright/test';
|
|
import { toNumber } from 'lodash';
|
|
|
|
const config: PlaywrightTestConfig = {
|
|
timeout: 350000,
|
|
globalTimeout: 6000000,
|
|
reporter: 'list',
|
|
testDir: './ts/test/automation',
|
|
testIgnore: '*.js',
|
|
outputDir: './ts/test/automation/test-results',
|
|
retries: process.env.PLAYWRIGHT_RETRIES_COUNT
|
|
? toNumber(process.env.PLAYWRIGHT_RETRIES_COUNT)
|
|
: 1,
|
|
|
|
workers: toNumber(process.env.PLAYWRIGHT_WORKER_COUNT) || 1,
|
|
reportSlowTests: null,
|
|
};
|
|
|
|
module.exports = config;
|