Add todo
This commit is contained in:
parent
c2ead4c78d
commit
d400b2f61c
|
|
@ -24,6 +24,7 @@
|
|||
// -- This is will overwrite an existing command --
|
||||
// Cypress.Commands.overwrite("visit", (originalFn, url, options) => { ... })
|
||||
|
||||
// todo: replace with apollo call
|
||||
Cypress.Commands.add("login", (username, password, visitLogin=false) => {
|
||||
if (visitLogin) {
|
||||
cy.visit('/login');
|
||||
|
|
|
|||
Loading…
Reference in New Issue