From 108e3e218c409d8989858590d4af64e1bd46912f Mon Sep 17 00:00:00 2001 From: Tomasz Janiszewski Date: Thu, 17 Sep 2020 11:04:49 +0200 Subject: [PATCH] fix: increase retries and timeout We have flaky CI for master. Many test fails due to > Timed out retrying: Expected to find element This change should fix it for now until we debug real cause. --- cypress.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cypress.json b/cypress.json index 199d385b9e..93ee279ed5 100644 --- a/cypress.json +++ b/cypress.json @@ -1,6 +1,6 @@ { "chromeWebSecurity": false, - "defaultCommandTimeout": 60000, + "defaultCommandTimeout": 120000, "env": { "CLUSTER_URL": "http://localhost:4200" }, @@ -9,6 +9,7 @@ "pageLoadTimeout": 600000, "projectId": "a209b1cd-e44f-47a4-b22c-d8f26649f43f", "reporter": "junit", + "retries": 3, "screenshotsFolder": "cypress/screenshots", "supportFile": "tests/_support", "trashAssetsBeforeRuns": false,