From 14a1c8ecef30e27d3cf016ebd195a6e271302c3d Mon Sep 17 00:00:00 2001 From: OZGCloud <ozgcloud@mgm-tp.com> Date: Thu, 29 Aug 2024 16:41:03 +0200 Subject: [PATCH] Revert "E2E disable Cypress retries" This reverts commit 97b058f7c500ac7cfce5ae6e33ae88a255b6661a. --- alfa-client/apps/alfa-e2e/cypress.config.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/alfa-client/apps/alfa-e2e/cypress.config.ts b/alfa-client/apps/alfa-e2e/cypress.config.ts index 975685740d..1e57f65df3 100644 --- a/alfa-client/apps/alfa-e2e/cypress.config.ts +++ b/alfa-client/apps/alfa-e2e/cypress.config.ts @@ -11,5 +11,14 @@ export default defineConfig({ setupNodeEvents(on, config) { return cypressEvents(on, config); }, - }, + }, + retries: { + experimentalStrategy: 'detect-flake-and-pass-on-threshold', + experimentalOptions: { + maxRetries: 2, + passesRequired: 1, + }, + openMode: true, + runMode: true, + }, }); -- GitLab