16 lines
424 B
TypeScript
16 lines
424 B
TypeScript
import { defineConfig, devices } from '@playwright/test';
|
|
|
|
export default defineConfig({
|
|
testDir: './tests',
|
|
timeout: 60_000,
|
|
expect: { timeout: 15_000 },
|
|
retries: 0,
|
|
reporter: [['list']],
|
|
use: {
|
|
baseURL: process.env.TA_BASE_URL || 'http://localhost:8000',
|
|
screenshot: 'only-on-failure',
|
|
trace: 'retain-on-failure',
|
|
},
|
|
projects: [{ name: 'chromium', use: { ...devices['Desktop Chrome'] } }],
|
|
});
|