You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered the same issue as well, and found what seems to be a solution (at least in my case). The solution requires two minor changes to the pytest_html module files, basereport.py and report_data.py:
In basereport.py, add "retried" to the relevant_outcomes list.
In report_data.py, add the following to the self._outcomes dict in class ReportData:
"retried": {"label": "Retries", "value": 0}
I made these changes to pytest-html 4.1.1, which appears to be the latest version.
It looks like the html reporter does not handle tests with the outcome
retried
.It's quite easy to reproduce:
@pytest.mark.flaky(retries=3, delay=1)
The text was updated successfully, but these errors were encountered: