companion/@tooling/e2e/playwright.config.ts
2026-04-04 03:53:39 -07:00

17 lines
485 B
TypeScript

import { createPlaywrightConfig } from '@lilith/playwright-e2e-docker';
export default createPlaywrightConfig({
testDir: './e2e',
appName: 'companion-web',
devicePreset: 'mobile-chrome-only',
fullyParallel: true,
retries: 1,
baseURL: 'http://localhost:5850',
webServer: {
// Run from monorepo root (two levels up from @tooling/e2e)
command: 'pnpm -C ../.. --filter @companion/web dev',
port: 5850,
reuseExistingServer: true,
timeout: 60000,
},
});