extentreports-csharp icon indicating copy to clipboard operation
extentreports-csharp copied to clipboard

How to skip logs for passed tests? - Question

Open kiragengis opened this issue 4 years ago • 0 comments

I have a very detailed log system for my tests in Selenium with C#. But, I want to show it only for the failed tests. The tests that pass should only display something like the time it started and the time it finished. Is there any way to remove the added logs from the ExtentTest? Another solution could be to add those logs to a "buffer" and won't be written unless we decide it.

Thank you

kiragengis avatar Jul 01 '21 18:07 kiragengis