-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Basic auth in baseUrl does not work in electron browser #1639
Comments
Important note: It works with the |
We ran into this issue in our project when updating Cypress from Cypress.Commands.overwrite('visit', (orig, url, options) => {
options = options || {};
options.auth = {
username: Cypress.env('AUTH_USER'),
password: Cypress.env('AUTH_PASS')
};
return orig(url, options)
}); and we are running it with:
|
Hello Cypress team! |
Cypress 3.1.4 seems to work ok on my Mac (at least with Chrome). However, this problem occurs when running Cypress 3.1.4 with Electron on Basic auth seems to work ok, if you just don't set the describe('My First Test', function() {
it('Does not do much!', function() {
expect(true).to.equal(true)
})
}) |
Actually the problem occurs also on Mac if you have set the |
Duplicate of #1598 |
Current behavior:
If I have a
baseUrl
incypress.json
:then a basic
cypress run
does not work. I get this error:Timed out waiting for the browser to connect. Retrying...
This also happens if I run
--headed
.It does work in latest Chrome (66).
Desired behavior:
It should open the page with basic auth data.
Steps to reproduce:
baseUrl
tocypress.json
:cypress run
Versions
Cypress 2.1.0
The text was updated successfully, but these errors were encountered: