|
|
@ -24,7 +24,7 @@ |
|
|
// -- This will overwrite an existing command --
|
|
|
// -- This will overwrite an existing command --
|
|
|
// Cypress.Commands.overwrite("visit", (originalFn, url, options) => { ... })
|
|
|
// Cypress.Commands.overwrite("visit", (originalFn, url, options) => { ... })
|
|
|
|
|
|
|
|
|
Cypress.Commands.add("login", name => { |
|
|
Cypress.Commands.add("login", () => { |
|
|
cy.visit(`localhost:${Cypress.env("PORT")}/builder`) |
|
|
cy.visit(`localhost:${Cypress.env("PORT")}/builder`) |
|
|
cy.contains("Create Test User").click() |
|
|
cy.contains("Create Test User").click() |
|
|
cy.get("input") |
|
|
cy.get("input") |
|
|
|