Cross origin Issue #29674
Labels
stage: needs investigating
Someone from Cypress needs to look at this
stale
no activity on this issue for a long period
topic: cy.origin
Problems or enhancements related to cy.origin command
Current behavior
In this scenario, after initially visiting the URL www.example.com, Azure authentication occurs. Upon successful user validation, the current URL origin changes to betaexample.com. However, despite being able to change the origin and proceed further, reusable functions declared in another spec file, as well as CSS selectors, cannot be accessed within the new origin. It throws an error indicating that those methods or selectors are not defined.
step 1: intial visiting the URL www.example.com
step 2 : validation takes place with microsoft.online.com origin
step 3: again aftter user validation origin changes to betaexample.com
Desired behavior
No response
Test code to reproduce
Cypress Version
13.0.0
Node version
20.0.0
Operating System
windows
Debug Logs
No response
Other
No response
The text was updated successfully, but these errors were encountered: