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

Cypress server does not respect --quiet config parameter #16268

Closed
arusanov opened this issue Apr 29, 2021 · 3 comments · Fixed by #16271
Closed

Cypress server does not respect --quiet config parameter #16268

arusanov opened this issue Apr 29, 2021 · 3 comments · Fixed by #16271
Assignees
Labels
pkg/server This is due to an issue in the packages/server directory type: unexpected behavior User expected result, but got another

Comments

@arusanov
Copy link

Current behavior

When started with --quiet flag, cypress still prints warning and info to stdout from cypress server.
Examples:

Warning from Cypress Dashboard: Organization with paid plan in grace period has exceeded monthly test results limit.

Details:
{
  "code": "PAID_PLAN_IN_GRACE_PERIOD_EXCEEDS_MONTHLY_TESTS",
  "name": "PaidPlanInGracePeriodExceedsMonthlyTests"
}

or


  (Uploading Results)

  - Nothing to Upload

terminal.header('Uploading Results', {

Desired behavior

When started with --quiet flag, Cypress output will not be printed to stdout. Only output from the configured Mocha reporter will print. (as in docs)

Test code to reproduce

run any test with --quiet and --record with cypress dashboard enabled.

Versions

any version. Tested on latest (7.2.0)

@arusanov arusanov changed the title Cypress server does not respec --quiet config parameter Cypress server does not respect --quiet config parameter Apr 29, 2021
@jennifer-shehane
Copy link
Member

jennifer-shehane commented Apr 29, 2021

Yes, I can confirm the --quiet flag does not quiet 'uploading results' and likely the other warnings you describe although it should.

@jennifer-shehane jennifer-shehane added type: unexpected behavior User expected result, but got another stage: ready for work The issue is reproducible and in scope pkg/server This is due to an issue in the packages/server directory labels Apr 29, 2021
@cypress-bot cypress-bot bot added stage: work in progress stage: needs review The PR code is done & tested, needs review and removed stage: ready for work The issue is reproducible and in scope labels Apr 29, 2021
@jennifer-shehane jennifer-shehane self-assigned this Apr 29, 2021
@cypress-bot
Copy link
Contributor

cypress-bot bot commented May 6, 2021

The code for this is done in cypress-io/cypress#16271, but has yet to be released.
We'll update this issue and reference the changelog when it's released.

@cypress-bot cypress-bot bot added stage: pending release and removed stage: needs review The PR code is done & tested, needs review stage: work in progress labels May 6, 2021
@cypress-bot
Copy link
Contributor

cypress-bot bot commented May 10, 2021

Released in 7.3.0.

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

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators May 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
pkg/server This is due to an issue in the packages/server directory type: unexpected behavior User expected result, but got another
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants