From f215523f43f6023e5199ed1c96012a94097a6e7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 15 Feb 2022 21:16:27 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20e2e:=203=20retries=20by=20defaul?= =?UTF-8?q?t?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/cypress/cypress.json | 3 ++- tests/cypress/integration/login.js | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/cypress/cypress.json b/tests/cypress/cypress.json index 5ab0bdac6..57958ef81 100644 --- a/tests/cypress/cypress.json +++ b/tests/cypress/cypress.json @@ -7,5 +7,6 @@ "supportFile": "support/index.js", "screenshotsFolder": "screenshots", "videosFolder": "videos", - "modifyObstructiveCode": false + "modifyObstructiveCode": false, + "retries": 3 } diff --git a/tests/cypress/integration/login.js b/tests/cypress/integration/login.js index 473cc169d..afe7307fa 100644 --- a/tests/cypress/integration/login.js +++ b/tests/cypress/integration/login.js @@ -17,7 +17,7 @@ context("Login tests", () => { }); }); - it("logs in", {retries: 3}, () => { + it("logs in", () => { cy.get("[data-test-id=login-username]").type(username); cy.get("[data-test-id=login-password]").type(password); @@ -57,7 +57,7 @@ context("Login tests", () => { }); context("Successful logout", () => { - it("logs out", {retries: 3}, () => { + it("logs out", () => { // login login(username, password);