Hello Migrated to cy 10 and noticed that the perfo...
# cy10-feedback
Hello Migrated to cy 10 and noticed that the performance is drastically degraded -both at startup and during execution Loading configuration takes almost 2 minutes Also, can someone please clarify if cy.session and cy.origin CAN be used to login to an app that uses SSO (Microsoft OAuth 2.0)? Currently I login programmatically via api calls. As a normal user, if I enter the application url, it gets redirected to login.microsoftonline.com and tests starts failing. How can we use cy.session and cy.origin to handle redirect? The example provided shows user has to click a button to go to another page, and then use cy.origin to perform tasks on that page, but how about auto redirection? If someone can share a small example, that would be really helpful
Hey Rajiv. Would you be able to create an issue regarding the performance degradation you are seeing including details about your machine?
does not work with
due to some frame busting issues that are present, but the team has work items open for this to explore fixing this.
auto redirection should be fine, but there needs to be a trailing
block as the next command when the redirect occurs
Thank you so much for getting back to me, sure let me open an issue re performance. I will try to provide a comparison between 9.7 and 10 in terms of performance