Skip to content

Commit

Permalink
chore: add launch options to slow down tests for improved stability
Browse files Browse the repository at this point in the history
  • Loading branch information
lgersman committed Nov 14, 2024
1 parent 5d6ecd0 commit 1677c5e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions playwright-ct.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ module.exports = defineConfig({

/* keep only videos for failed tests */
video: 'retain-on-failure',

launchOptions: {
// https://playwright.dev/docs/test-use-options#more-browser-and-context-options
// slow down the tests to make queries more stable
slowMo: 50,
},
},
outputDir: './playwright/.test-results',
});

0 comments on commit 1677c5e

Please sign in to comment.