From 570cfc8610563ccb0192c31ccfc21f075f9fce65 Mon Sep 17 00:00:00 2001 From: kolaente Date: Wed, 2 Jun 2021 09:08:24 +0200 Subject: [PATCH] Configure tests retries --- .drone.yml | 2 +- cypress.json | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 57ca9a52f..5b705d80f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -95,7 +95,7 @@ steps: CYPRESS_TEST_SECRET: averyLongSecretToSe33dtheDB YARN_CACHE_FOLDER: .cache/yarn/ CYPRESS_CACHE_FOLDER: .cache/cypress/ - CYPRESS_DEFAULT_COMMAND_TIMEOUT: 60000 + CYPRESS_DEFAULT_COMMAND_TIMEOUT: 20000 commands: - sed -i 's/localhost/api/g' public/index.html - yarn serve & npx wait-on http://localhost:8080 diff --git a/cypress.json b/cypress.json index 9497a81ea..b7319d941 100644 --- a/cypress.json +++ b/cypress.json @@ -4,5 +4,8 @@ "API_URL": "http://localhost:3456/api/v1", "TEST_SECRET": "testingS3cr3et" }, - "video": false + "video": false, + "retries": { + "runMode": 2 + } }