CypressError
cy.visit()
failed trying to load: https://softans.com/ We attempted to make an http request to this URL but the request failed without a response. We received this error at the network level: > Error: ESOCKETTIMEDOUT Common situations why this would fail: – you don’t have internet access – you forgot to run / boot your web server – your web server isn’t accessible – you have weird network configuration settings on your computer
Adding this to the cy.visit() function solved it for me:
cy.visit(url, { headers: { "Accept-Encoding": "gzip, deflate" } });
… as referenced here: #943 (comment)