Files
payload/playwright.config.ts
Elliot DeNolf b0b82e1f57 ci: playwright artifacts (#2201)
* ci: playwright report

* chore: update playwright report location

* ci: trace file only on failure

* ci: reduce test timeout

* test: up the rateLimit
2023-02-27 21:58:11 -05:00

16 lines
424 B
TypeScript

import type { PlaywrightTestConfig } from '@playwright/test';
const config: PlaywrightTestConfig = {
// Look for test files in the "tests" directory, relative to this configuration file
testDir: 'test',
testMatch: '*e2e.spec.ts',
workers: 999,
timeout: 180000, // 3 minutes
use: {
video: 'retain-on-failure',
trace: 'retain-on-failure',
screenshot: 'only-on-failure',
},
};
export default config;