diff --git a/cypress/e2e/spec.cy.js b/cypress/e2e/spec.cy.js index 0905af3..a5c17ba 100644 --- a/cypress/e2e/spec.cy.js +++ b/cypress/e2e/spec.cy.js @@ -8,7 +8,7 @@ describe("auth", () => { else console.log("No cookie banner or cookie already accepted"); }); - cy.contains("Login").click(); + cy.findByText(/login/i).click(); cy.origin("https://elixir-czech.org", () => {}); cy.origin("https://ds.aai.lifescience-ri.eu", () => { cy.wait(3000).then(() => {