This commit is contained in:
Martin McKeaveney 2021-04-15 18:34:49 +01:00
parent 4c20427c33
commit 508730db6b
1 changed files with 1 additions and 2 deletions

View File

@ -26,7 +26,7 @@
Cypress.Commands.add("login", () => { Cypress.Commands.add("login", () => {
cy.getCookie("budibase:auth").then(cookie => { cy.getCookie("budibase:auth").then(cookie => {
// Already logged in // Already logged in
if (cookie) return if (cookie) return
cy.visit(`localhost:${Cypress.env("PORT")}/builder`) cy.visit(`localhost:${Cypress.env("PORT")}/builder`)
@ -39,7 +39,6 @@ Cypress.Commands.add("login", () => {
cy.contains("Login").click() cy.contains("Login").click()
}) })
}) })
Cypress.Commands.add("createApp", name => { Cypress.Commands.add("createApp", name => {