mission-control/playwright.config.ts

27 lines
599 B
TypeScript

import { defineConfig, devices } from '@playwright/test'
export default defineConfig({
testDir: 'tests',
testIgnore: /openclaw-harness\.spec\.ts/,
timeout: 60_000,
expect: {
timeout: 10_000
},
fullyParallel: false,
workers: 1,
reporter: [['list']],
use: {
baseURL: process.env.E2E_BASE_URL || 'http://127.0.0.1:3005',
trace: 'retain-on-failure'
},
projects: [
{ name: 'chromium', use: { ...devices['Desktop Chrome'] } }
],
webServer: {
command: 'pnpm start',
url: 'http://127.0.0.1:3005',
reuseExistingServer: true,
timeout: 30_000,
}
})