Skip to content

Commit df9848b

Browse files
committed
chore(candidate): remove unnecessary random mock (random is now server side)
1 parent b26e781 commit df9848b

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

packages/reva-candidate/cypress/e2e/organism.cy.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,7 @@ context("Candidacy with department certification selected", () => {
7676
stubQuery(req, "activeFeaturesForConnectedUser", "features.json");
7777
});
7878

79-
cy.login(
80-
{ token: "abc" },
81-
{
82-
onBeforeLoad(win) {
83-
cy.stub(win.Math, "random").returns(0);
84-
},
85-
},
86-
);
79+
cy.login();
8780

8881
cy.wait("@candidate_login");
8982
cy.wait("@candidate_getCandidateWithCandidacy");

0 commit comments

Comments
 (0)