From d25e5b08cfc25a90e4ab8fa688c5f56c669475f2 Mon Sep 17 00:00:00 2001
From: OZGCloud <ozgcloud@mgm-tp.com>
Date: Tue, 23 Jul 2024 14:48:25 +0200
Subject: [PATCH] OZG-6255: re-enable Retries

Because E2E-Tests in Jenkins failed without
---
 ...-ci-einheitlicher-ansprechpartner.config.ts | 18 +++++++++---------
 .../alfa-e2e/cypress-ci-main-tests.config.ts   | 18 +++++++++---------
 2 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/alfa-client/apps/alfa-e2e/cypress-ci-einheitlicher-ansprechpartner.config.ts b/alfa-client/apps/alfa-e2e/cypress-ci-einheitlicher-ansprechpartner.config.ts
index 9402863dc8..c6848595db 100644
--- a/alfa-client/apps/alfa-e2e/cypress-ci-einheitlicher-ansprechpartner.config.ts
+++ b/alfa-client/apps/alfa-e2e/cypress-ci-einheitlicher-ansprechpartner.config.ts
@@ -13,13 +13,13 @@ export default defineConfig({
       return cypressEvents(on, config);
     },
   },
-  // retries: {
-  //   experimentalStrategy: 'detect-flake-and-pass-on-threshold',
-  //   experimentalOptions: {
-  //     maxRetries: 2,
-  //     passesRequired: 1,
-  //   },
-  //   openMode: true,
-  //   runMode: true,
-  // },
+  retries: {
+    experimentalStrategy: 'detect-flake-and-pass-on-threshold',
+    experimentalOptions: {
+      maxRetries: 2,
+      passesRequired: 1,
+    },
+    openMode: true,
+    runMode: true,
+  },
 });
diff --git a/alfa-client/apps/alfa-e2e/cypress-ci-main-tests.config.ts b/alfa-client/apps/alfa-e2e/cypress-ci-main-tests.config.ts
index e27efd4747..debc5e3e19 100644
--- a/alfa-client/apps/alfa-e2e/cypress-ci-main-tests.config.ts
+++ b/alfa-client/apps/alfa-e2e/cypress-ci-main-tests.config.ts
@@ -13,13 +13,13 @@ export default defineConfig({
       return cypressEvents(on, config);
     },
   },
-  // retries: {
-  //   experimentalStrategy: 'detect-flake-and-pass-on-threshold',
-  //   experimentalOptions: {
-  //     maxRetries: 2,
-  //     passesRequired: 1,
-  //   },
-  //   openMode: true,
-  //   runMode: true,
-  // },
+  retries: {
+    experimentalStrategy: 'detect-flake-and-pass-on-threshold',
+    experimentalOptions: {
+      maxRetries: 2,
+      passesRequired: 1,
+    },
+    openMode: true,
+    runMode: true,
+  },
 });
-- 
GitLab