DEV Community


Discussion on: Cypress Testing Tutorial Series for Beginners

automationbro profile image
Dilpreet Johal Author

Thanks Maureen. So the same-origin issue is specific to Cypress as the tests run within your browser and the browser adheres to a strict same-origin policy. This becomes an issue when you need to access iframes within your application for scenarios such as accessing a YouTube player, payment IFrames (stripe, PayPal, etc), or embedded logins from Auth0.
On a positive note, they are investigating a fix for this, you can check out the GitHub issue here if you are interested -

maureento8888 profile image
Maureen T'O

Ohhhhh that makes a lot of sense 😯 Thank you for clarifying it so well and I’ll definitely look into it! 🙌🏼

Forem Open with the Forem app