lundi 18 novembre 2019

Cypress Cross-Origin Frame Error Occurring when Visiting a Subdomain?

**These tests were once running without errors

Upon running Cypress tests in Electron using npx cypress run, I keep getting the error: Cross-Origin Frame Error

However, I am not accessing another domain, simply a subdomain of my baseURL. Sometimes this appears using npx cypress open and running the specified spec file. What often happens is that the chrome browser URL is changed when doing an automated login, but the Cypress URL is left blank on "loading" forever: Picture of Inconsistent URL's

These tests are very inconsistent with when they decide to work or run. Some of my tests run in Electron without fail, but the same test will fail when running the Cypress UI and vice versa.

I am unsure of what is going on and why my tests, which were once working, are failing and failing under different circumstances.

Aucun commentaire:

Enregistrer un commentaire