From 5e7009dab3471f557b8eb39a0ae845afdb141bed Mon Sep 17 00:00:00 2001 From: timgl Date: Fri, 4 Oct 2024 20:47:00 +0100 Subject: [PATCH] ci: Retry cypress tests before failing (#25404) --- cypress.e2e.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/cypress.e2e.config.ts b/cypress.e2e.config.ts index f9a504aaf6e..cb683960213 100644 --- a/cypress.e2e.config.ts +++ b/cypress.e2e.config.ts @@ -34,6 +34,7 @@ export default defineConfig({ // cypress default is 'top' this means sometimes the element is underneath the top navbar // not what a human would do... so, set it to center to avoid this weird behavior scrollBehavior: 'center', + retries: {runMode: 2}, e2e: { // We've imported your old cypress plugins here. // You may want to clean this up later by importing these.