Skip to content

Commit

Permalink
chore(canidate): fixed login cypress tests
Browse files Browse the repository at this point in the history
  • Loading branch information
agarbe committed Sep 11, 2024
1 parent 6a1cf0f commit 4706aaa
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@ const email = "[email protected]";
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();
Expand Down

0 comments on commit 4706aaa

Please sign in to comment.