2026-03-11 10:06:54 +00:00
|
|
|
import { defineConfig } from '@playwright/test'
|
|
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
|
testDir: './e2e',
|
|
|
|
|
outputDir: './e2e/test-results',
|
|
|
|
|
timeout: 60_000,
|
|
|
|
|
expect: {
|
|
|
|
|
timeout: 10_000,
|
|
|
|
|
},
|
|
|
|
|
use: {
|
2026-05-05 11:29:18 -04:00
|
|
|
baseURL: process.env.ARCHY_BASE_URL ?? 'http://192.168.1.228',
|
2026-03-11 10:06:54 +00:00
|
|
|
viewport: { width: 1440, height: 900 },
|
|
|
|
|
screenshot: 'only-on-failure',
|
|
|
|
|
trace: 'off',
|
|
|
|
|
ignoreHTTPSErrors: true,
|
|
|
|
|
},
|
|
|
|
|
projects: [
|
|
|
|
|
{
|
|
|
|
|
name: 'chromium',
|
|
|
|
|
use: { browserName: 'chromium' },
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
})
|