-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cypress 10.4+ in chrome 70 breaks with globalThis #23509
Comments
Hi @levinqdl , thanks for reporting this issue! I have confirmed that we unintentionally introduced some code in Cypress v10.4.0 that is incompatible with older versions of Chrome. Cypress v10.3.1 appears to work as expected in Chrome v70. We'll get this routed to the team |
We will have to add https://www.npmjs.com/package/@vitejs/plugin-legacy to the |
Hey team! Please add your planning poker estimate with ZenHub @amehta265 @astone123 @lmiller1990 @marktnoonan @mike-plummer @rockindahizzy @warrensplayer @ZachJW34 |
The code for this is done in cypress-io/cypress#23689, but has yet to be released. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Current behavior
Cypress run on chrome 70 cannot start with error: "Uncaught ReferenceError: globalThis is not defined"
Desired behavior
cypress run with chrome 70
Test code to reproduce
Any test with cypress 10.4+ run on chrome 70 should reproduce.
Cypress Version
10.4+
Node version
v16.5.0
Operating System
linux
Debug Logs
Other
globalThis is not supported in chrome 70, 10.4+ somehow use it directly in bundled code.
The text was updated successfully, but these errors were encountered: