Skip to content

Commit

Permalink
test: e2e flaky
Browse files Browse the repository at this point in the history
  • Loading branch information
AlitaBernachot committed Feb 20, 2025
1 parent 6410b21 commit 5965a82
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 102 deletions.
9 changes: 9 additions & 0 deletions apps/datahub-e2e/cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,14 @@ export default defineConfig({
cypressBrowserPermissionsPlugin(on, config)
configureCommonPlugins(on, config)
},
retries: {
experimentalStrategy: 'detect-flake-and-pass-on-threshold',
experimentalOptions: {
maxRetries: 4,
passesRequired: 1,
},
openMode: true,
runMode: true,
},
},
})
9 changes: 9 additions & 0 deletions apps/metadata-editor-e2e/cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,14 @@ export default defineConfig({
cypressBrowserPermissionsPlugin(on, config)
configureCommonPlugins(on, config)
},
retries: {
experimentalStrategy: 'detect-flake-and-pass-on-threshold',
experimentalOptions: {
maxRetries: 4,
passesRequired: 1,
},
openMode: true,
runMode: true,
},
},
})
145 changes: 44 additions & 101 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
"@typescript-eslint/eslint-plugin": "8.18.1",
"@typescript-eslint/parser": "8.18.1",
"autoprefixer": "^10.4.13",
"cypress": "^12.17.4",
"cypress": "^13.0.0",
"cypress-browser-permissions": "^1.1.0",
"cypress-real-events": "^1.12.0",
"dotenv": "10.0.0",
Expand Down

0 comments on commit 5965a82

Please sign in to comment.