You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like tests inside of https://www.google.com also hang, but looks related to accessing a cross origin parent frame referencing window.top. Setting chromeWebSecurity to false seems to fix the issue.
sample test looks something like this:
it('go to google',()=>{cy.visit('/fixtures/primary-origin.html')cy.get('a[data-cy="request-link-to-google"]').click()cy.origin('https://www.google.com',()=>{cy.url().should('eq','https://www.google.com/')})})
I've got a similar case of using 'origin' and it hangs. No errors, just doesn't proceed. I use this for a login page, which sometimes works and sometimes hangs.
@etavenerInmarsat are you using Google Chrome to visit google.com inside cy.origin? That currently doesn't work for a different reason related to #22987
Current behavior
A simple test to visit cypress.io in a cypress.io
cy.origin
block hangs.Desired behavior
The test should not hang.
Test code to reproduce
Cypress Version
9.6.1
Other
No response
The text was updated successfully, but these errors were encountered: