Skip to content

misc: remove recommendation for record false in error message #31676

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

Merged
merged 4 commits into from
May 13, 2025

Conversation

jennifer-shehane
Copy link
Member

@jennifer-shehane jennifer-shehane commented May 9, 2025

Additional details

This PR updates the error message when a projectId and key are present but not --record to remove the recommendation for passing --record false, which is undocumented.

--record false is not explicitly documented. While we have code that should make this work as intended, I do know there is one bug around this usage and we've asked users to update their code to just remove the --record flag in that case instead of passing --record false.

This was originally surfaced in this discussion.

Steps to test

Run cypress run with projectId and key flags but no record flag

How has the user experience changed?

Shorter error message on this failure

PR Tasks

@jennifer-shehane jennifer-shehane self-assigned this May 9, 2025
Copy link

cypress bot commented May 9, 2025

cypress    Run #62406

Run Properties:  status check passed Passed #62406  •  git commit 5bbf94e243: cli entry
Project cypress
Branch Review remove-record-false-error
Run status status check passed Passed #62406
Run duration 11m 36s
Commit git commit 5bbf94e243: cli entry
Committer Jennifer Shehane
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 685
View all changes introduced in this branch ↗︎
UI Coverage  37.62%
  Untested elements 131  
  Tested elements 79  
Accessibility  92.36%
  Failed rules  3 critical   8 serious   1 moderate   1 minor
  Failed elements 429  

@jennifer-shehane jennifer-shehane merged commit 9b6f150 into develop May 13, 2025
90 of 94 checks passed
@jennifer-shehane jennifer-shehane deleted the remove-record-false-error branch May 13, 2025 18:48
@cypress-bot
Copy link
Contributor

cypress-bot bot commented May 20, 2025

Released in 14.4.0.

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

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators May 20, 2025
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.

2 participants