diff --git a/packages/reva-candidate/cypress/e2e/login.cy.js.disabled b/packages/reva-candidate/cypress/e2e/login.cy.js similarity index 91% rename from packages/reva-candidate/cypress/e2e/login.cy.js.disabled rename to packages/reva-candidate/cypress/e2e/login.cy.js index cf73e9e0f..562c384f9 100644 --- a/packages/reva-candidate/cypress/e2e/login.cy.js.disabled +++ b/packages/reva-candidate/cypress/e2e/login.cy.js @@ -5,12 +5,10 @@ const email = "email@example.com"; context("Login", () => { it("submit email", function () { cy.intercept("POST", "/api/graphql", (req) => { - stubQuery(req, "getDepartments", "departments.json"); stubQuery(req, "candidate_askForLogin", "login.json"); }); - cy.login(); - + cy.visit("/"); cy.get('[data-test="login-home"] #email').type(email); cy.get('[data-test="login-home-submit"]').click();