-
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
dependency: update to electron 25 and node 18 #27715
Conversation
e0194de
to
df87126
Compare
60dbde9
to
ad5ef3e
Compare
@@ -917,7 +917,7 @@ describe('config/src/project/utils', () => { | |||
|
|||
return mergeDefaults(obj, {}, {}, this.getFilesByGlob) | |||
.then((cfg) => { | |||
expect(cfg.env).to.deep.eq({ | |||
expect(cfg.env).to.deep.include({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
factory variables are making their way into the process here, such as CACHE_VERSION
and FACTORY_NODE_DEFAULT_VERSION
https://app.circleci.com/pipelines/github/cypress-io/cypress/56495/workflows/a9f3e3d2-48cd-43ee-a67f-cc226a514905/jobs/2342148/tests#failed-test-2
f858e5d
to
e1540b0
Compare
the required snyk jobs would need to change from (16.x) to (18.x) |
96d7459
to
1d1827d
Compare
a89d006
to
58c8fb2
Compare
…y caused by bugs in screen height in chrome. see https://bugs.chromium.org/p/chromium/issues/detail?id=1416398
…ecipes update to node 18 chore: remove commented out code
…ype in Firefox versions greater than 91 and simulate click for buttons on enter in Firefox versions greater than or equal to 106
100c434
to
884877c
Compare
@mschile are you able to take a look at this? That test is still failing and I am unsure if I should update the snapshot or if this is really just severe flake. |
@AtofStryker, I'll take a look. It doesn't look like it's been flaking on develop. |
…om/cypress-io/cypress into chore/update_electron25_and_node18
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Additional details
Updates Cypress to use Electron
v25
and Nodev18
. Nodev16
is EOL on 9/11/23 and Electronv21
has not been supported for a few months at this point. This gets us to more recent versions for our appWe were unable to upgrade Electron between major versions due to an issue with
mksnapshot
, which was patched inv25
, hence the large jump in versionsIdeally we want to release this close to or before September 11, 2023 to coincide with Node 16's EOL
Changes to support Node 18 / Electron 25
@types/node
are bumped to latestv18
compatible versionxauth
,curl
, and a few environment variables omitted that are present by default.mock-fs
needed to be updated from5.1
to5.2
to work with Node 18 and address a few BIgINT issues in CI e983963achrinza/node-ipc
for@vue/cli-service
in component system tests to get node 18 support. we likely should cut these over tocreate-vue
as@vue/cli-service
is deprecated.node_gyp_bins
from the binary as they arent needed and were causing symlink issues in darwin electron buildssqllite3
as they are unnecessary in the binarycypress-realworld-app
to use Node 18, so for now to get this to work we need to have--ignore-engines
in the install script for the binary testscypress-example-recipes
andcypress-realworld-app
, those runtimes also need to be Node 18 compatible. To accomplish this, I have:cypress-example-recipes
to use Node 18 chore: update to node 18.16.0 cypress-example-recipes#844Changes to Support Chrome 114 and Firefox 115
Chrome 114
headless=new
option being set to default, with the user agent no longer reflecting a headless implementation. There is also a bug in the new headless with--window-size
where the height is not set correctly. The issue is marked asFixed
inside chromium's repository, but users are still reporting this bug. For now, I have the snapshots updated to reflect the current value, but once this is fixed we should incorporate the correct defaultsFirefox 115
click
events no longer fire when a button is typed into, which meant tweaking some testsError
objects are now serializable, meaning that a lot of our tests to check for object cloning in firefox forcy.origin()
needed to be updatedSteps to test
How has the user experience changed?
PR Tasks
cypress-documentation
?type definitions
?