Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions playwright.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ module.exports = defineConfig({
testDir: './test/specs',
testMatch: '*.js',
fullyParallel: true,
// Retry on CI only. The specs themselves are deterministic, but the runner is
// shared and oversubscribed, and a loaded one occasionally takes longer than
// the 30s default timeout just to load a fixture page - the failure is a
// `page.goto` timeout rather than a failed assertion. Without retries a single
// slow page load fails a whole matrix row. Locally, retries would only hide
// a genuinely flaky spec, so leave them off there.
retries: process.env.CI ? 2 : 0,
reporter: 'list',
use: {
trace: 'retain-on-failure',
Expand Down
Loading