12 lines
499 B
TypeScript
12 lines
499 B
TypeScript
import { defineConfig, devices } from '@playwright/test'
|
|
export default defineConfig({
|
|
testDir: './e2e',
|
|
testIgnore: '**/live.spec.ts',
|
|
fullyParallel: false,
|
|
workers: 1,
|
|
timeout: 30000,
|
|
expect: { timeout: 12000 },
|
|
use: { baseURL: process.env.VDI_E2E_URL || 'http://127.0.0.1:5180', trace: 'retain-on-failure', screenshot: 'only-on-failure' },
|
|
projects: [{ name: 'chromium', use: { ...devices['Desktop Chrome'], ...(process.platform === 'win32' ? { channel: 'msedge' } : {}) } }],
|
|
})
|