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()
|
.click()
|
||||||
);
|
);
|
||||||
|
|
||||||
// Cypress.Commands.add("loginUserViaRequest", () => {
|
|
||||||
// cy.sendLoginRequest().then(resp => {
|
|
||||||
// window.sessionStorage.setItem("auth", resp.body.data.tokenCreate.token);
|
|
||||||
// });
|
|
||||||
// });
|
|
||||||
|
|
||||||
Cypress.Commands.add("loginInShop", () => {
|
Cypress.Commands.add("loginInShop", () => {
|
||||||
cy.loginUserViaRequest("token");
|
cy.loginUserViaRequest("token");
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue