Handle cross-origin document.cookie #22479
Labels
topic: cookies 🍪
topic: cross-origin ⤭
Topics related to cross-origin navigation in tests
topic: cy.origin
Problems or enhancements related to cy.origin command
The cross-origin cookie handling currently handles setting/getting cookies via http requests, but cookie setting/getting in-browser via
document.cookie
does not work if the AUT is on a different origin than top.Need to monkey-patch
document.cookie
and override its setter and getter, so that it simulates what it would do if the AUT was run in the top frame.The text was updated successfully, but these errors were encountered: