Is there any way to close basic auth popups with Cypress? #23199
Unanswered
zec4o
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
i'm trying to figure out how to close basic auth popups (without bypassing them with "https://username:[email protected]")
Is there anyway to close, or simply escape basic auth popups with Cypress? The basic auth popup shows up AFTER the cy.click.
The issue happening is: after the cy.xpath click (that redirects to keycloak auth), only with chrome
and edge engine on Windows OS a basic auth popup shows up.
I've noticed that with Mac OS it does not happen, with Electron Engine the basic auth does not show up.
When the popup shows up, the test is not able to continue until i close it
I'm trying to find out a way to type/escape/enter the basic auth popup itself, not to really auth throught the request
Beta Was this translation helpful? Give feedback.
All reactions