https://cypress.io logo
you don't even need it. Since cy.login custom comm...
# e2e-testing
g
you don't even need it. Since cy.login custom command properly waits now for the nuxtApp action, the rest of the test will wait for cy.login() to finish. So you can simply write
Copy code
cy.login()
cy.visit('/')