17 lines
429 B
TypeScript
17 lines
429 B
TypeScript
import { defineConfig, devices } from '@playwright/test'
|
|
|
|
export default defineConfig({
|
|
testDir: './e2e',
|
|
fullyParallel: false,
|
|
workers: 1,
|
|
timeout: 60_000,
|
|
expect: { timeout: 10_000 },
|
|
use: {
|
|
baseURL: process.env.MEMRELAY_E2E_URL || 'http://localhost:18080',
|
|
trace: 'retain-on-failure',
|
|
screenshot: 'only-on-failure',
|
|
...devices['Desktop Chrome'],
|
|
viewport: { width: 1440, height: 900 },
|
|
},
|
|
})
|