Skip to content

Commit

Permalink
fix(tests): using experimental strategy to detect flaky tests (#722)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fewwy committed Mar 27, 2024
1 parent 4b1257e commit 5f88d5c
Show file tree
Hide file tree
Showing 3 changed files with 852 additions and 48 deletions.
12 changes: 12 additions & 0 deletions cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,16 @@ module.exports = defineConfig({
return config;
},
},
retries: {
experimentalStrategy: 'detect-flake-and-pass-on-threshold',
experimentalOptions: {
maxRetries: 2,
passesRequired: 2,
},

// you must also explicitly set openMode and runMode to
// either true or false when using experimental retries
openMode: true,
runMode: true,
},
});

0 comments on commit 5f88d5c

Please sign in to comment.