Skip to content
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

breaking: Remove deprecated nodeVersion configuration option #27059

Merged
merged 4 commits into from
Jun 16, 2023

Conversation

mjhenkes
Copy link
Member

Additional details

Removes the 'nodeVersion' configuration option.

Steps to test

How has the user experience changed?

PR Tasks

cli/CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>
@@ -250,7 +250,7 @@ const convertRelativeToAbsolutePaths = (projectRoot: string, obj: Config) => {
// instead of the built-in Node process, specify a path to 3rd party Node
export const setNodeBinary = (obj: Config, userNodePath?: string, userNodeVersion?: string) => {
// if execPath isn't found we weren't executed from the CLI and should used the bundled node version.
if (userNodePath && userNodeVersion && obj.nodeVersion !== 'bundled') {
if (userNodePath && userNodeVersion) {
Copy link
Member Author

Choose a reason for hiding this comment

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

We could still end up using 'bundled' if user node isn't found.

@@ -1022,14 +1022,6 @@ export const AllCypressErrors = {

Please verify that this is the path to a valid, unpacked WebExtension.`
},
COULD_NOT_FIND_SYSTEM_NODE: (nodeVersion: string) => {
Copy link
Member Author

Choose a reason for hiding this comment

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

This error was dead code

@cypress
Copy link

cypress bot commented Jun 16, 2023

26 flaky tests on run #47812 ↗︎

0 27315 1308 0 Flakiness 26

Details:

Apply suggestions from code review
Project: cypress Commit: 25f5797d65
Status: Passed Duration: 23:29 💡
Started: Jun 16, 2023 1:36 PM Ended: Jun 16, 2023 2:00 PM
Flakiness  e2e/origin/commands/assertions.cy.ts • 1 flaky test • 5x-driver-firefox

View Output Video

Test Artifacts
cy.origin assertions > #consoleProps > .should() and .and() Output
Flakiness  cypress/cypress.cy.js • 3 flaky tests • 5x-driver-firefox

View Output Video

Test Artifacts
... > correctly returns currentRetry Output
... > correctly returns currentRetry Output
... > correctly returns currentRetry Output
Flakiness  e2e/origin/navigation.cy.ts • 1 flaky test • 5x-driver-electron

View Output Video

Test Artifacts
... > establishes foobar spec bridge Output Video
Flakiness  cypress/cypress.cy.js • 3 flaky tests • 5x-driver-electron

View Output Video

Test Artifacts
... > correctly returns currentRetry Output Video
... > correctly returns currentRetry Output Video
... > correctly returns currentRetry Output Video
Flakiness  scaffold-component-testing.cy.ts • 1 flaky test • launchpad-e2e

View Output Video

Test Artifacts
scaffolding component testing > 3rd party ct plugin > Scaffolds component testing for Solid using Vite Output Screenshots Video

The first 5 flaky specs are shown, see all 15 specs in Cypress Cloud.

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

@mjhenkes mjhenkes changed the title [breaking] Remove deprecated nodeVersion configuration option breaking: Remove deprecated nodeVersion configuration option Jun 16, 2023
@mjhenkes mjhenkes merged commit 5f93282 into release/13.0.0 Jun 16, 2023
@mjhenkes mjhenkes deleted the matth/breaking/remove-nodeVersion-option branch June 16, 2023 14:36
@cypress cypress bot mentioned this pull request Jun 16, 2023
3 tasks
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Aug 29, 2023

Released in 13.0.0.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v13.0.0, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Aug 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants