cy.origin should throw an error when block is declared within same-origin context #24169
Labels
topic: cy.origin
Problems or enhancements related to cy.origin command
Milestone
What would you like?
if a user declares a
cy.origin
command with the same origin policy as that of the AUT/top, an error should be thrown to prompt the user that this is not needed and ask if the user did this intentionallyWhy is this needed?
Currently there is some confusion around
cy.origin
when using same origin spec bridges to that of top/AUT where no feedback is virtually given. This should give users an actionable error message to guide them in the right direction when usingcy.origin
Other
No response
The text was updated successfully, but these errors were encountered: