pytest-html icon indicating copy to clipboard operation
pytest-html copied to clipboard

How add class name to Captured log call in html report

Open hewerthon opened this issue 5 years ago • 1 comments
trafficstars

When try parse the HTML report to get some information about logging All information about the test is put the same div class = "log"

How I can separate the output test failed and exit logging? Exemplo: div class="stdout" -----------------------------Captured stdout setup------------------------------ div class="stderr" -----------------------------Captured stderr setup------------------------------ div class="stdout" ------------------------------Captured stdout call------------------------------ div class="stdout" -------------------------------Captured log call--------------------------------

Command: -v -o log_cli=True --html=~/tests/Reports/android.html --self-contained-html

hewerthon avatar Jul 03 '20 20:07 hewerthon

Not sure I understand what you're trying to accomplish. What's the use case?

BeyondEvil avatar Jul 13 '20 22:07 BeyondEvil