Home > OS >  Cant run cypress tests in Chrome & Edge browsers(being manageed by organization)
Cant run cypress tests in Chrome & Edge browsers(being manageed by organization)

Time:12-06

I'm trying to run cypress tests using Cypress Test Runner in chrome & Edge browsers which are being managed by my organization. So I cant change much settings/chrome flags.

I'm getting this error with chrome browser.

This browser was not launched through Cypress. Tests cannot run.

Any idea how to run my tests in these browsers?

enter image description here

CodePudding user response:

You can try doing this:

  • Open the cypress app (Test Runner)
  • Go to File -> View App Data
  • Delete everything in here
  • Close cypress and open it up again

If the above doesn't work out, you can check this link. It talks about some work-arounds.

https://docs.cypress.io/guides/references/error-messages#Cypress-detected-policy-settings-on-your-computer-that-may-cause-issues

  • Related