bright-eve-71344
10/13/2022, 2:18 PMhttp://localhost:4000/users/login, {
user: {
email: "USERNAME",
password: "PASSWORD"
}
}).then(({ body }) => {
window.localStorage.setItem('__auth_provider_token__', body.token)
cy.visit('/profile')
cy.get('h1').contains('Account')
})
Doing a basic API login test to programmatically login to my application. The API is going through, but the page in the cy.visit() is not rendering. It's a white blank page. Looking at the screen shots I noticed a few xhr requests getting aborted. I can't figure out why or how. If I run the test locally, my tests all pass and work as expected.