Closed amitguptagwl closed 2 years ago
It looks like they have some framebusting code, which is breaking the application under test (https://hinduism.stackexchange.com/) out of Cypress' iframe.
You have a couple of options:
experimentalSourceRewriting
config option. https://docs.cypress.io/guides/references/experiments#Configuration.Hopefully that provides some helpful pointers.
Yes, this is not the site I control. I just took this is an example during live demonstrate of how to use cypress. But it failed.
Closing because of the inactivity.
Hi, I found this answer: https://stackapps.com/a/4963/102029
They said that embedding StackExchange website inside iframe
is not allowed.
Current behavior
When I'm writing some sample tests to visit "https://hinduism.stackexchange.com", Cypress attempt to run tests but reports no test to run eventually
Desired behavior
cy.visit()
should be able to visit any URL.Test code to reproduce
Cypress Version
9.5.0
Other
I've already tested with v8 and v9 but it is not working.