[Playwright] Set better timeout defaults

This commit is contained in:
Aaro Koivukangas
2026-08-09 01:48:41 +03:00
committed by Aaro Koivukangas
parent 77e6c7f554
commit a070df939b
+3 -3
View File
@@ -4,12 +4,12 @@ export default defineConfig({
testDir: './e2e',
testMatch: ['**/*.spec.ts'],
testIgnore: ['**/support/**', '**/plugins/**'],
timeout: 60_000,
expect: { timeout: 30_000 },
timeout: 15_000,
expect: { timeout: 10_000 },
retries: process.env.CI ? 1 : 0,
workers: process.env.CI ? 1 : undefined,
use: {
baseURL: process.env.PLAYWRIGHT_BASE_URL || 'http://localhost:3000',
baseURL: process.env.CI ? 'http://localhost:1337' : process.env.PLAYWRIGHT_BASE_URL || 'http://localhost:3000',
viewport: { width: 1920, height: 1080 },
trace: 'on-first-retry',
testIdAttribute: 'data-cy',