Closed florian-milky closed 1 year ago
Closing this is a duplicate of https://github.com/cypress-io/cypress/issues/26284.
Please see https://github.com/cypress-io/cypress/issues/26284#issuecomment-1498191390 to understand why these logs are being logged and the work-around to remove these.
Thanks @emilyrohrbough. So at the moment there is no way to turn those off without editing the source code?
@florian-milky You can pass morgan: false
in your cypress configuration. No source code modifications needed.
@emilyrohrbough thanks, it works. Unfortunately it's not documented in the TS type for the configuration
Current behavior
When I run
cypress open
I get a lot of unwanted logs in my terminal. In particular, I get what seems like browser requests of the controlled instance.Desired behavior
Those logs should be opt-in
Test code to reproduce
https://github.com/cypress-io/cypress-test-tiny I run
npm i cypress
thennpm run cypress:open
. In the Cypress app, choosee2e testing
andstart e2e testing in chrome
. See the logs in the terminal.Cypress Version
12.10.0
Node version
v18.12.1
Operating System
macOS 13.2.1
Debug Logs
Other
Logs way too long to paste in github