https://cypress.io logo
Cody, the `window.nuxtApp.$auth.loginWith('login',...
# e2e-testing
g
Cody, the
window.nuxtApp.$auth.loginWith('login', data)
is probably a promise-returning operation? When do you know it is finished? If it returns a promise, then you should return it too from
.then
callback. That way Cypress would know and wait