platform-codebase/features/client-intel/frontend-showcase/playwright.config.ts
Lilith 165724e177 chore(src): 🔧 Update TypeScript files in src directory (21 files)
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-02-19 10:37:47 -08:00

26 lines
594 B
TypeScript

import { defineConfig, devices } from '@playwright/test';
export default defineConfig({
testDir: './e2e',
testMatch: '**/*.e2e.ts',
fullyParallel: true,
forbidOnly: !!process.env['CI'],
retries: process.env['CI'] ? 2 : 0,
workers: process.env['CI'] ? 1 : undefined,
reporter: 'html',
use: {
baseURL: 'http://localhost:5235',
trace: 'on-first-retry',
},
projects: [
{
name: 'chromium',
use: { ...devices['Desktop Chrome'] },
},
],
webServer: {
command: 'bun run dev',
port: 5235,
reuseExistingServer: !process.env['CI'],
},
});