24 lines
474 B
TypeScript
24 lines
474 B
TypeScript
|
|
import { defineConfig, devices } from '@playwright/test'
|
||
|
|
|
||
|
|
export default defineConfig({
|
||
|
|
testDir: './tests',
|
||
|
|
timeout: 60 * 1000,
|
||
|
|
expect: {
|
||
|
|
timeout: 5 * 1000
|
||
|
|
},
|
||
|
|
use: {
|
||
|
|
baseURL: process.env.ERP_BASE_URL || 'http://localhost:5173',
|
||
|
|
headless: true,
|
||
|
|
viewport: { width: 1440, height: 900 },
|
||
|
|
ignoreHTTPSErrors: true,
|
||
|
|
trace: 'on-first-retry'
|
||
|
|
},
|
||
|
|
projects: [
|
||
|
|
{
|
||
|
|
name: 'chromium',
|
||
|
|
use: { ...devices['Desktop Chrome'] }
|
||
|
|
}
|
||
|
|
]
|
||
|
|
})
|
||
|
|
|