You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apparently this issue in Cypress was released with 3.5.0, which changed the behaviour of the proxy settings of Cypress. It is fairly easy to overcome though, I will make a new release shortly.
For those that cannot wait, you can resolve this by editing the file cypress-ntlm-auth/dist/launchers/cypress-ntlm.jsin your node_modules folder.
Change this line: process.env.NO_PROXY = '';
to process.env.NO_PROXY = '<-loopback>';
Note: It still works well on Cypress 3.4.1
From the Test Runner:
NTLMSSO {ntlmhosts: [localhost]}
CypressError: cy.visit() failed trying to load:
http://localhost/ui/
The response we received from your web server was:
This was considered a failure because the status code was not '2xx'.
If you do not want status codes to cause failures pass the option: 'failOnStatusCode: false'
The text was updated successfully, but these errors were encountered: