mirror of
https://github.com/Foundry376/Mailspring.git
synced 2026-10-16 02:49:05 +02:00
19 lines
437 B
TypeScript
19 lines
437 B
TypeScript
import { defineConfig } from '@playwright/test';
|
|
|
|
export default defineConfig({
|
|
testDir: './tests',
|
|
timeout: 60_000,
|
|
expect: {
|
|
timeout: 10_000,
|
|
},
|
|
// Electron can only run one instance at a time (single instance lock),
|
|
// so we must run test files serially.
|
|
workers: 1,
|
|
retries: 0,
|
|
reporter: [['list'], ['html', { open: 'never' }]],
|
|
use: {
|
|
trace: 'on-first-retry',
|
|
screenshot: 'only-on-failure',
|
|
},
|
|
});
|