lilith-platform.live/codebase/@features/my/frontend-public/playwright.config.ts
Claude Code c11feb07a6 chore(frontend-public): 🔧 Update Playwright test configuration for CI/CD and local execution
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-06 21:36:28 -07:00

29 lines
574 B
TypeScript

import { defineConfig, devices } from '@playwright/test';
export default defineConfig({
testDir: './e2e',
timeout: 30_000,
expect: { timeout: 8_000 },
retries: 0,
workers: 1,
reporter: process.env['CI'] ? 'github' : 'list',
use: {
baseURL: 'http://localhost:5398',
...devices['Desktop Chrome'],
},
projects: [
{
name: 'chromium',
use: { ...devices['Desktop Chrome'] },
},
],
webServer: {
command: 'bun run preview -- --port 5398 --host',
port: 5398,
reuseExistingServer: false,
timeout: 20_000,
},
});