Content-Length: 514486 | pFad | http://github.com/cypress-io/cypress/pull/31260

48 dependency: Update Electron to 34 by jennifer-shehane · Pull Request #31260 · cypress-io/cypress · GitHub
Skip to content

dependency: Update Electron to 34 #31260

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

Draft
wants to merge 28 commits into
base: develop
Choose a base branch
from
Draft

dependency: Update Electron to 34 #31260

wants to merge 28 commits into from

Conversation

jennifer-shehane
Copy link
Member

@jennifer-shehane jennifer-shehane commented Mar 11, 2025

Additional details

Steps to test

How has the user experience changed?

PR Tasks

@jennifer-shehane jennifer-shehane self-assigned this Mar 11, 2025
Copy link

cypress bot commented Mar 11, 2025

cypress    Run #62532

Run Properties:  status check failed Failed #62532  •  git commit a2c75ee3eb: exit process from v8 snapshot native module app.js when promise resolves or reje...
Project cypress
Branch Review electron-34
Run status status check failed Failed #62532
Run duration 19m 53s
Commit git commit a2c75ee3eb: exit process from v8 snapshot native module app.js when promise resolves or reje...
Committer Cacie Prins
View all properties for this run ↗︎

Test results
Tests that failed  Failures 7
Tests that were flaky  Flaky 1
Tests that did not run due to a developer annotating a test with .skip  Pending 29
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 785
View all changes introduced in this branch ↗︎

Warning

Partial Report: The results for the Application Quality reports may be incomplete.

UI Coverage  63.64%
  Untested elements 30  
  Tested elements 56  
Accessibility  96.23%
  Failed rules  0 critical   4 serious   1 moderate   0 minor
  Failed elements 143  

Tests for review

Failed  cypress\e2e\studio\studio.cy.ts • 3 failed tests • app-e2e

View Output

Test Artifacts
Cypress Studio > cloud studio > immediately loads the studio panel Test Replay Screenshots
Cypress Studio > cloud studio > closes studio panel when clicking studio button (from the cloud) Test Replay Screenshots
Cypress Studio > cloud studio > opens a cloud studio session with AI enabled Test Replay Screenshots
Failed  cypress\e2e\config-files-error-handling.cy.ts • 1 failed test • launchpad-e2e

View Output

Test Artifacts
Launchpad: Error System Tests > shows correct stack trace when config with ts-module error Test Replay Screenshots
Failed  cypress\e2e\project-setup.cy.ts • 1 failed test • launchpad-e2e

View Output

Test Artifacts
Launchpad: Setup Project > switch testing types > takes the user to first step of ct setup when switching from app Test Replay Screenshots
Failed  cypress\e2e\error-handling.cy.ts • 2 failed tests • launchpad-e2e

View Output

Test Artifacts
... > automatically sources vite.config.js Test Replay Screenshots
... > automatically sources webpack.config.js Test Replay Screenshots
Failed  cypress\e2e\slow-network.cy.ts • 0 failed tests • launchpad-e2e

View Output

Test Artifacts

The first 5 failed specs are shown, see all 8 specs in Cypress Cloud.

Flakiness  cypress\e2e\specs_list_actual_git_repo.cy.ts • 1 flaky test • app-e2e

View Output

Test Artifacts
Spec List - Last updated with git info > shows correct git icons Test Replay Screenshots

@jennifer-shehane jennifer-shehane changed the title dependency: Update Electron to 34 dependency: [WIP] Update Electron to 34 Mar 12, 2025
@@ -279,6 +279,7 @@
"@types/react": "18.3.12",
"browserify-sign": "4.2.2",
"devtools-protocol": "0.0.1413303",
"node-abi": "3.74.0",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -305,7 +305,8 @@ export class ProjectConfigIpc extends EventEmitter {
// If they've got TypeScript installed, we can use
// ts-node for CommonJS
// ts-node/esm for ESM
if (hasTypeScriptInstalled(this.projectRoot)) {
// If we're in a cy in cy project, we will handle registering typescript directly in the server entry point
if (!process.env.CYPRESS_INTERNAL_E2E_TESTING_SELF_PARENT_PROJECT && hasTypeScriptInstalled(this.projectRoot)) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Electron must have changed something with their spawn call. We're unsure what, but when cy-in-cy all of this logic is unnecessary.

@cacieprins cacieprins self-assigned this Apr 15, 2025
@jennifer-shehane jennifer-shehane removed their assignment Apr 16, 2025
@cacieprins cacieprins changed the title dependency: [WIP] Update Electron to 34 dependency: Update Electron to 34 May 2, 2025
Copy link
Contributor

@AtofStryker AtofStryker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did we actually update electron? It looks to be on 33.2.1 still on this branch https://github.com/cypress-io/cypress/blob/electron-34/package.json#L144

@cacieprins cacieprins marked this pull request as draft May 5, 2025 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Electron Update (34)
5 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/cypress-io/cypress/pull/31260

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy