Cypress: Cypress is not running on Chrome 71

Created on 5 Dec 2018  路  8Comments  路  Source: cypress-io/cypress

Current behavior:

After the upgrade to Chrome 71, Cypress is throwing a cross-origin frame error (image below). If I downgrade my Chrome to 70 or run the tests with the Electron version, the tests run.

image

Versions

  • Chrome 71
  • Cypress 3.1.2
  • OS: Mac and Linux
chrome 馃槼 whoops we can't run your tests bug

All 8 comments

Could you provide your test code please? We will need a way to reproduce this on our side in order to investigate it.

@jennifer-shehane it breaks on cy.visit('/'), the spec's first lines.

In my codebase, I have an interceptor that if the user is not logged in, I redirect him to /#/login. If he is logged, he will be redirected to /#/dashboard. It is the beginning of the test, so the user is not logged in yet and he will be redirected to login page. Here, the Cypress breaks.

If in my tests I set the cy.visit to /#/login, the Cypress does not break.

I'll try to post a very simple example with that as soon as possible.

I have tested this error on 3.1.2 and 3.1.3 Cypress versions, both break on Chrome 71. It pass on Chrome 70 or earlier.

Thank you.

edit1: some misspellings.
edit2: info about versions.

I just upgraded from 3.1.1 to 3.1.3 and I experienced this same issue. I tried following the steps on https://github.com/cypress-io/cypress/issues/1239 by deleting the app data and restarting it but it didn't work for me :( . I was trying to run Cypress > integration > examples > action.spec.js file

Happening with me in 3.1.4

Unfortunately we'll have to close this issue if no reproducible example is provided. Can anyone provide a way to reproduce this?

My STR:
Initial:
No chrome installed.
No Cypress installed.

  1. Install the latest chrome (7.1)
  2. Install Cypress (3.1.4)
  3. Run Cypress cypress open
  4. In the Test Runner, instead choosing Electron 59, I chose Chrome 71.
    screen shot 2019-01-18 at 09 37 06

  5. Run any test

  6. The Chrome browser will be opened with the error message
    "Whoops, we can't run your test"
    screen shot 2019-01-18 at 09 38 43

But if the test is run on Electron 59, it's okay.

Unfortunately we have to close this issue as there is not enough information to reproduce the problem - following the steps provided does not cause the error shown for us.

Please comment in this issue with a reproducible example and we will reopen the issue. 馃檹

Anyone know how to solve this problem?

Was this page helpful?
0 / 5 - 0 ratings