educative.io

Cypress Error: Cypress detected a cross origin error happened on page load:

Hi,

I tried to replicate the submission of a form (like the Conduit), in another application but I was presented with a white page after the clicking submit with the following error. The error persists even after changing the chromeWebSecurity to false. Kindly help.

"Cypress detected a cross origin error happened on page load:

Blocked a frame with origin “http://xxxx.yyyy.com” from accessing a cross-origin frame.

A cross origin error happens when your application navigates to a new URL which does not match the origin policy above.


Type your question above this line.

Lesson: https://www.educative.io/collection/page/10370001/5983729156096000/6690920250998784