From d400b2f61cd20a1e3850892b1353a0a8bb31a5dd Mon Sep 17 00:00:00 2001 From: Ramon Wenger Date: Mon, 9 Dec 2019 15:29:07 +0100 Subject: [PATCH] Add todo --- client/cypress/support/commands.js | 1 + 1 file changed, 1 insertion(+) diff --git a/client/cypress/support/commands.js b/client/cypress/support/commands.js index f76b462c..b454f50c 100644 --- a/client/cypress/support/commands.js +++ b/client/cypress/support/commands.js @@ -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');