-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
multiple domain exceptions with 2nd level sub domains #1175
Comments
The subdomain parsing is the same problem as this here: #802 So it would just "work" once we fix that issue. As for the So whatever that is - you can just set in Have you actually tried this yet? Because |
Also related to #600 |
…sing tld, handle multiple different subdomains on cy.visit
Released in |
Still facing this issue with version 2.1.0.
|
Still facing this issue with version 3.3.1.
|
This issue will be closed to further comment as the exact issue here was resolved and tested. If you're experiencing a bug similar to this in Cypress, please open a new issue with a fully reproducible example that we can run. There may be a specific edge case with the issue that we need more detail to fix. |
Is this a Feature or Bug?
Bug
Current behavior:
I want to test an app deployed at https://apphost.lab.domain.com.
"...The previous domain you visited was: 'https://sso-host.dc1.domain.com'
You're attempting to visit this new domain: 'https://apphost.lab.domain.com' ..."
Desired behavior:
Should be able to issue cy.visit('/some-path') without exception.
How to reproduce:
Test code:
Additional Info (images, stack traces, etc)
Even though the sso host and app host is in the same sub domain i'm still seeing the multiple super domain exception.
Ideally we should just allow multiple super domains. Due to how our SSO work we can only be authenticated going through the browser, we can't simply make cy.request() to grab the token/cookie and manually set it our session.
The text was updated successfully, but these errors were encountered: