Merge pull request #8583 from overleaf/ae-cypress-retries

Only retry Cypress tests in run mode

GitOrigin-RevId: e862f8e88e9fe970a5c2b9142c05d8b648ac4b1e
This commit is contained in:
Alf Eaton 2022-06-28 12:03:07 +01:00 committed by Copybot
parent a0d1e918c8
commit 054b0e2e28

View file

@ -18,6 +18,7 @@ export default defineConfig({
specPattern:
'./{test,modules/**/test}/frontend/components/**/*.spec.{js,ts,tsx}',
},
// Docs: https://docs.cypress.io/guides/guides/test-retries#Global-Configuration
retries: 3,
retries: {
runMode: 3,
},
})