-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Add a configuration option for suppressing Command Logs #3087
Comments
Hey @jonathanconway, I'm curious to hear what you find as the most useful part of the test runner without the commands being logged. Are you tracking XHR requests? url changes? Anything in the Command Log at all? |
Hi @jennifer-shehane, thanks for getting back to me about this. I had a think about it and actually I think this setting isn't necessary and would be inappropriate, because I only need to suppress logging for a sub-set of the tests I'm writing, not across-the-board using a global setting. If it's Ok with you, I'll close it for now, but you're free to re-open if you think it might be useful. |
@jennifer-shehane Motivation:
Which basically also generates log entries in command log automatically based on function called. I would prefer to call |
@Machiaweliczny please open a new issue detailing your feature request. |
I want to turn off logging on all of my commands, in order to reduce clutter in the lefthand side of the Test Runner.
Current behavior:
In order to turn off logging, I have to set log to false in the options of every individual command.
For example:
Desired behavior:
I want to be able to set just one Cypress configuration option, to turn command logging off globally.
Then I can omit log options from my command calls:
Versions
Cypress v3.1.0.
The text was updated successfully, but these errors were encountered: