1
0

playwright.config.ts 282 B

123456789101112
  1. import { PlaywrightTestConfig } from '@playwright/test'
  2. const config: PlaywrightTestConfig = {
  3. testDir: './e2e-tests',
  4. maxFailures: 1,
  5. workers: 1, // NOTE: must be 1 for now, otherwise tests will fail.
  6. use: {
  7. screenshot: 'only-on-failure',
  8. }
  9. }
  10. export default config