-
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
Infinite redirection - iframe-request-id #7619
Comments
The I would suggest looking into other ways to test the login through your application as explained in this doc: https://on.cypress.io/best-practices#Visiting-external-sites |
Ok thank you I will investigate it deeper on thursday with the link you have provided. The only strange thing is the fact that nor the manual procedure or the pupeteer procedure do it. |
@VGBenjamin - You'll have to use Puppeteer as a Cypress task. https://gist.github.com/TonyHernandezAtMS/706b8ea977ee0aac3b7fb8317bc699cb |
@VGBenjamin - I have exactly the same problem. |
cy.origin also override the cypress test runner tab with azure ad login but after that not able to type. |
I'm having the same problem, has anyone got it to work with the latest version of Cypress? I'm currently using a custom Puppeteer workflow at the moment. |
Same issue here, would love to know if there is a solution |
Having same issue. Works like a charm on logging in manually but cypress keeps adding iframe-request-id until too long url. Would really like to see a solution to this. |
If folks haven't read the guide on using cy.origin I would suggest checking that out. We also have guides on authenticating with Azure AD that might be helpful. This issue is very old so I am going to close this issue. If folks are still experiencing this problem and have a reproducible example in a more recent version of Cypress please open a new issue and we will be happy to investigate. |
With this approach I could manage to get my tests running! |
This could also work: cy.window().then((win) => { |
In my case a missing |
Hello,
Current behavior:
When I reach my site I am redirected to the Microsoft SSO. Then redirection url is:
Here is the test I do:
Here is the result:
But when he execute the redirection the parameter "iframe-request-id" is added a lot of times into the url like this:
I have also tried the same script manually and also with pupeteers but it doesn't do the same behavior.
Desired behavior:
Do not add the iframe-request-id more than once
Test code to reproduce
Versions
Cypress: 4.7.0
operating system: Windows 10
browser: Chrome 83
The text was updated successfully, but these errors were encountered: