mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
fix step_definition for e2e test
This commit is contained in:
parent
010e17ee62
commit
b2eab93979
@ -21,16 +21,26 @@ When(
|
||||
req.body.hasOwnProperty("query") &&
|
||||
req.body.query.includes("mutation")
|
||||
) {
|
||||
<<<<<<< Updated upstream
|
||||
req.alias = "login";
|
||||
=======
|
||||
req.alias = "loging";
|
||||
>>>>>>> Stashed changes
|
||||
}
|
||||
});
|
||||
|
||||
loginPage.enterEmail(email);
|
||||
loginPage.enterPassword(password);
|
||||
loginPage.submitLogin();
|
||||
<<<<<<< Updated upstream
|
||||
cy.wait("@login").then((interception) => {
|
||||
expect(interception.response.statusCode).equals(200);
|
||||
expect(JSON.stringify(interception.response.body)).contains(email);
|
||||
=======
|
||||
|
||||
cy.wait("@loging").then((interception) => {
|
||||
expect(interception.response.statusCode).equals(200);
|
||||
>>>>>>> Stashed changes
|
||||
});
|
||||
}
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user