19 lines
407 B
TypeScript
19 lines
407 B
TypeScript
import { defineConfig, devices } from '@playwright/test'
|
|
|
|
export default defineConfig({
|
|
testDir: 'tests',
|
|
timeout: 60_000,
|
|
expect: {
|
|
timeout: 10_000
|
|
},
|
|
fullyParallel: true,
|
|
reporter: [['list']],
|
|
use: {
|
|
baseURL: process.env.E2E_BASE_URL || 'http://127.0.0.1:3000',
|
|
trace: 'retain-on-failure'
|
|
},
|
|
projects: [
|
|
{ name: 'chromium', use: { ...devices['Desktop Chrome'] } }
|
|
]
|
|
})
|