24 lines
467 B
TypeScript
24 lines
467 B
TypeScript
import { defineConfig } from '@playwright/test'
|
|
|
|
export default defineConfig({
|
|
testDir: './e2e',
|
|
outputDir: './e2e/test-results',
|
|
timeout: 60_000,
|
|
expect: {
|
|
timeout: 10_000,
|
|
},
|
|
use: {
|
|
baseURL: 'http://192.168.1.228',
|
|
viewport: { width: 1440, height: 900 },
|
|
screenshot: 'only-on-failure',
|
|
trace: 'off',
|
|
ignoreHTTPSErrors: true,
|
|
},
|
|
projects: [
|
|
{
|
|
name: 'chromium',
|
|
use: { browserName: 'chromium' },
|
|
},
|
|
],
|
|
})
|