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

--quiet is not respected by video or cypress cloud output #27631

Open
joshkaplan opened this issue Aug 22, 2023 · 0 comments
Open

--quiet is not respected by video or cypress cloud output #27631

joshkaplan opened this issue Aug 22, 2023 · 0 comments
Labels
E2E Issue related to end-to-end testing Triaged Issue has been routed to backlog. This is not a commitment to have it prioritized by the team.

Comments

@joshkaplan
Copy link

Current behavior

When running cypress with --quiet, it still prints output related to recording videos and cypress cloud:

videos:

  (Video)

  -  Video output: [redacted]/[redacted].test.ts.mp4

cypress cloud:

You've exceeded the limit of test results under your free billing plan this month.

To continue getting the full benefits of your current plan, please visit your billing to upgrade.

https://on.cypress.io/set-up-billing

Desired behavior

It should not print this output. According to docs for --quiet:

If passed, Cypress output will not be printed to stdout. Only output from the configured Mocha reporter will print.

Test code to reproduce

Any test using --quiet, with the config set to video: true and/or cypress cloud turned on

Cypress Version

12.17.3

Node version

16.20.0

Operating System

macOS 13.5

Debug Logs

n/a (see above)

Other

Not having a way to suppress this output produces a bad experience in backend structured logging, by producing a lot of clutter and obfuscating our own logging:

image

Suggested solutions:

  • The "billing" warning should be a single line when --quiet is turned on (or turned off entirely)
  • Video should only be outputting warnings/errors (or turned off entirely)
@nagash77 nagash77 added E2E Issue related to end-to-end testing Triaged Issue has been routed to backlog. This is not a commitment to have it prioritized by the team. labels Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E2E Issue related to end-to-end testing Triaged Issue has been routed to backlog. This is not a commitment to have it prioritized by the team.
Projects
None yet
Development

No branches or pull requests

2 participants