auth
option on cy.visit doesn't seem to work with "https" domain
#1723
Labels
auth
option on cy.visit doesn't seem to work with "https" domain
#1723
Current behavior:
I get an "Unauthorized" error when trying to access an https site using the
auth
option incy.visit()
.Authentication is set like this:
If I set the same username/password in the url instead before the host name, then it works fine:

Bad thing about this is, username/password on the url works fine on chrome but not on electron: #1639.
So right now I'm unable to test an https site headless from CI.
Desired behavior:
I can access https site, using
auth
option.Steps to reproduce:
Try to access an https site, with basic security, and use the
auth
option incy.visit()
to authenticate.Versions
Cypress 2.1.0
macOS 10.13.4
Chrome 66, Electron 59
The text was updated successfully, but these errors were encountered: