Skip to content

Extend --quiet flag with ability to customize output levelΒ #30078

@annahansen229

Description

@annahansen229

What would you like?

I'd like to be able to customize the verbosity of the testing output. Currently the --quiet flag turns off ALL output but there is no intermediate setting between ALL ON and ALL OFF.

I want to be able to configure which output to show.

See as a reference, the issue where the --quiet flag was implemented: #2071

In particular the comment here which explains that all output is turned off by the --quiet flag: #2071 (comment)

For my particular use case, I want to show only the Run Finished section.

The output level could be configured in the cypress config as a list.

Why is this needed?

The --quiet flag is nice for those users who want to COMPLETELY replace the standard output, but not useful for those users who only want to suppress some of the standard output.

Allowing users to customize the level of information emitted during the test run will help Cypress stand alone as a testing framework, rather than relying on bringing in third party reporters and configuration settings in order to get the desired output.

It can be confusing to figure out how these different parts work together, and that complexity should be avoided when it's unnecessary. Allowing configuration of the output level allows users to utilize the information they need without adding complexity to their testing configuration.

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    clitype: enhancementRequested enhancement of existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions