Skip to content

Instantly share code, notes, and snippets.

@sunfmin
Created December 22, 2025 23:19
Show Gist options
  • Select an option

  • Save sunfmin/1d2968b351bd46a2f826d1e83f615c6b to your computer and use it in GitHub Desktop.

Select an option

Save sunfmin/1d2968b351bd46a2f826d1e83f615c6b to your computer and use it in GitHub Desktop.
export default defineConfig({
maxFailures: 3,
reporter: './tests/e2e/utils/ai-reporter.ts', // Custom AI-friendly reporter
timeout: 5000, // 5s max per test - fail fast
expect: { timeout: 1000 }, // 1s for assertions
use: {
actionTimeout: 1000, // 1s for actions
baseURL: process.env.E2E_TARGET_URL || 'http://localhost:5173',
},
webServer: undefined, // NEVER let Playwright start the server
projects: [{ name: 'chromium', use: { ...devices['Desktop Chrome'] } }],
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment