Files
SystemLandscapeSimulator/playwright.config.ts
T
chris.dumas 9bb02b3dd5
Test, deploy, and browser-test System Landscape Simulator / test-build (push) Successful in 17s
Test, deploy, and browser-test System Landscape Simulator / deploy (push) Failing after 7s
Test, deploy, and browser-test System Landscape Simulator / browser-test (push) Skipped
ci: deploy simulator and run post-deploy UI tests
2026-11-09 08:25:28 +00:00

24 lines
665 B
TypeScript

import { defineConfig, devices } from '@playwright/test'
export default defineConfig({
testDir: './tests',
fullyParallel: true,
retries: process.env.CI ? 2 : 0,
reporter: 'html',
use: {
baseURL: process.env.E2E_BASE_URL || 'http://127.0.0.1:5173',
trace: 'on-first-retry',
screenshot: 'only-on-failure',
video: 'retain-on-failure',
},
projects: [{ name: 'chromium', use: { ...devices['Desktop Chrome'] } }],
...(process.env.E2E_BASE_URL ? {} : {
webServer: {
command: 'npm run dev -- --host 127.0.0.1',
url: 'http://127.0.0.1:5173',
reuseExistingServer: !process.env.CI,
timeout: 30_000,
},
}),
})