From dab1770a13ef5e2b097afe54176452ee2d56d3de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C5=ABdolfs=20O=C5=A1i=C5=86=C5=A1?= Date: Thu, 29 Sep 2022 15:13:13 +0200 Subject: [PATCH] Retry a test twice before giving up MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We have some flaky tests in the test suite. This should take care of it. Signed-off-by: Rūdolfs Ošiņš --- cypress.config.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cypress.config.ts b/cypress.config.ts index 269c5694e..1e56a7762 100644 --- a/cypress.config.ts +++ b/cypress.config.ts @@ -3,6 +3,10 @@ import { defineConfig } from "cypress"; export default defineConfig({ video: false, defaultCommandTimeout: 10000, + retries: { + runMode: 2, + openMode: 0, + }, e2e: { specPattern: "cypress/e2e/**/*spec.ts", baseUrl: "http://localhost:3000",