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
I would like to force cy.origin spec bridges to create the iframe source as the same origin as the expected AUT.
In other words:
// moving away from the primary
cy.visit('https://www.foobar.com/index.html')
cy.origin('https://foobar.com', () => // your code here)
becomes
// moving away from the primary
cy.visit('https://www.foobar.com/index.html')
cy.origin('https://www.foobar.com', () => // your code here)
Why is this needed?
In order to support google login from google chrome and eliminate inconsistencies from the spec bridge. This means requests can be relative from within the cy.origin block, as well as actually being able to leverage more accurate properties off the window object (like origin). This also simplifies the check inside the injection to just compare origins and move on
Other
No response
The text was updated successfully, but these errors were encountered:
The code for this is done in cypress-io/cypress#23885, but has yet to be released.
We'll update this issue and reference the changelog when it's released.
What would you like?
I would like to force
cy.origin
spec bridges to create the iframe source as the same origin as the expected AUT.In other words:
becomes
Why is this needed?
In order to support google login from google chrome and eliminate inconsistencies from the spec bridge. This means requests can be relative from within the cy.origin block, as well as actually being able to leverage more accurate properties off the window object (like origin). This also simplifies the check inside the injection to just compare origins and move on
Other
No response
The text was updated successfully, but these errors were encountered: