-
Notifications
You must be signed in to change notification settings - Fork 467
Ability to suppress logging full DOM #360
Copy link
Copy link
Closed
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededreleased
Description
Describe the feature you'd like:
Looking for a way to disable the full DOM logging. In RTL it makes sense to see the rendered output when a query fails, as it's usually pretty small. But when using Testcafe testing library, its dumping the entire DOM and pretty much takes over my entire terminal. Would be nice to have a flag you can set in the configure() function that allows you to suppress the full DOM logging.
Suggested implementation:
configure({showLogOnFail:false}) (default's to current behavior, true)
Describe alternatives you've considered:
I noticed an environment variable that lets you control the size, but testcafe runs the tests in-browser so i don't think that will work.
Teachability, Documentation, Adoption, Migration Strategy:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededreleased