fix login commands
This commit is contained in:
parent
3a90d9bdc2
commit
095a5522d3
1 changed files with 0 additions and 6 deletions
|
@ -10,12 +10,6 @@ Cypress.Commands.add("loginUser", () =>
|
|||
.click()
|
||||
);
|
||||
|
||||
// Cypress.Commands.add("loginUserViaRequest", () => {
|
||||
// cy.sendLoginRequest().then(resp => {
|
||||
// window.sessionStorage.setItem("auth", resp.body.data.tokenCreate.token);
|
||||
// });
|
||||
// });
|
||||
|
||||
Cypress.Commands.add("loginInShop", () => {
|
||||
cy.loginUserViaRequest("token");
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue