pytest-dev/pytest-html

[Improvement] - Be able to collapse/expand the Environment lines of the metadata table

harmin-parra opened this issue · 2 comments

When generating the test report from the CI (example: Gitlab-CI), the metadata table is way too long.

Is it possible to add an arrow, somewhere within the table, in order to collapse/expand the Environment lines ?

Or perhaps split the table in two tables and display the two tables one next to the other, side by side ?

image

Maybe add these links to show or hide the Environment table ?
image

<div class="collapse" style="float:right">
   <button id="show_environment>Show envorinment</button>&nbsp;/&nbsp;<button id="hide_environment">Hide envorinment</button>
</div>