Skip to content

Environment table is hidden by default #934

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ Versions follow `Semantic Versioning`_ (``<major>.<minor>.<patch>``).
Version History
---------------

4.1.2 (2025-07-07)
~~~~~~~~~~~~~~~~~~

* Environment table was made hidden by default

4.1.1 (2023-11-07)
~~~~~~~~~~~~~~~~~~

Expand Down
4 changes: 2 additions & 2 deletions src/pytest_html/resources/index.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
<h1 id="title">{{ title }}</h1>
<p>Report generated on {{ date }} at {{ time }} by <a href="https://pypi.python.org/pypi/pytest-html">pytest-html</a>
v{{ version }}</p>
<div id="environment-header">
<div id="environment-header" class="collapsable collapsed">
<h2>Environment</h2>
</div>
<table id="environment"></table>
<table id="environment" class="hidden"></table>
<!-- TEMPLATES -->
<template id="template_environment_row">
<tr>
Expand Down