Skip to content

Document the "morgan" flag #4402

Open
Open
@tomardern

Description

@tomardern

There is an undocumented morgan property of cypress.json. This disables the "morgan" HTTP network logging library.

If morgan is set to true, the terminal shows network logs. Examples below:
image

There isn't anything referenced in the main configuration docs: https://docs.cypress.io/guides/references/configuration and it's not shown as an option within Cypress

image

More details around the usage of morgan is here:
cypress-io/cypress@6d5768e
https://github.com/cypress-io/cypress/blob/c6758dc8f77d171c18e15b59ec92fcb4c2988f40/packages/desktop-gui/cypress/fixtures/config.json#L135
https://github.com/cypress-io/cypress/blob/29841f32b9672d92264873cf97ede50cb923a768/packages/server/test/unit/config_spec.js#L1252

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions