When I load the page it makes a call to my api https://<apiurl>/products
. In cypress this request fails with:
GET https://<apiurl>/products net::ERR_EMPTY_RESPONSE
If I copy the cURL request the response comes back fine. I double checked the headers coming back from the api and there's no cors issue. Nothing is stubbed this is the entire test:
describe('Plans page', () => {
it('should load', () => {
cy.visit('http://localhost:8001/plans')
expect(1).to.eq(1)
})
})
"cypress": "6.8.0",