import { defineConfig, devices } from '@playwright/test'; // Smoke test against a running stack (docker compose … up, simulator data loaded): // E2E_BASE_URL=http://localhost:3000 npx playwright test -c web/playwright.config.ts export default defineConfig({ testDir: './e2e', timeout: 30_000, use: { baseURL: process.env.E2E_BASE_URL ?? 'http://localhost:3000', colorScheme: 'dark' }, projects: [ { name: 'desktop', use: { ...devices['Desktop Chrome'] } }, { name: 'mobile', use: { ...devices['Pixel 7'] } }, ], });