pytest_html_merger
pytest_html_merger copied to clipboard
How to preserve custom environment variables after report merging
Hello, I've included custom environment variables in the report. However, after merging the reports, the environment variables seem to vanish in the merged report. Is there a way to retain the environment variables I set in the individual reports after merging?
Here's how I add the environment variables to a separate report in the test case:
metadata_values = {'api_version':api_version, 'app_date':app_date}
request.config.stash[metadata_key]["version"] = metadata_values
Thank you!