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

Add cloud recommendation message to CI output #24000

Closed
astone123 opened this issue Sep 27, 2022 · 4 comments · Fixed by #24680
Closed

Add cloud recommendation message to CI output #24000

astone123 opened this issue Sep 27, 2022 · 4 comments · Fixed by #24680
Assignees
Labels
CT Issue related to component testing

Comments

@astone123
Copy link
Contributor

astone123 commented Sep 27, 2022

ClickUp

Add the following message to the CI output for cypress run:

-----------------------------------------------------------------------------------------

Having trouble debugging your CI failures?
Record your runs to the Cypress Cloud to watch video recordings for each test, debug failing and flaky tests, and integrate with your favorite tools.

>> https://on.cypress.io/cloud-get-started

------------------------------------------------------------------------------------------

This message should show after the test summary (in place of the recorded run link) in run mode if the following conditions are met:

  • we are in run mode
  • the run is not being recorded to the dashboard
  • we are running in CI
  • at least one test failed during the run
  • CYPRESS_NO_COMMERCIAL_RECOMMENDATIONS environment variable is not set to true (users can opt out of seeing this message by setting this true)
@astone123 astone123 added the CT Issue related to component testing label Sep 27, 2022
@warrensplayer
Copy link
Contributor

@astone123 I see suggestions in the click-up, but have the requirements for how to determine if it is running in CI been determined?

@astone123
Copy link
Contributor Author

@warrensplayer we should be able to look at process.env.CI to determine whether the process is running in CI

@rockindahizzy
Copy link
Contributor

Voting under the assumption that process.env.CI is the only indicator we plan to go off of for this issue.

@astone123 astone123 self-assigned this Nov 10, 2022
@astone123 astone123 changed the title Add dashboard recommendation message to CI output Add cloud recommendation message to CI output Nov 10, 2022
@cypress-bot cypress-bot bot added stage: needs review The PR code is done & tested, needs review stage: review and removed stage: in progress stage: needs review The PR code is done & tested, needs review labels Nov 14, 2022
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Nov 22, 2022

Released in 11.2.0.

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

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Nov 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CT Issue related to component testing
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants