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);