Not getting any data in report using pytest-html 4.1.1
Hello,
I recently upgraded from pytest 7.3.1 to pytest 8.1.1 and upgraded pytest-html from 3.2.0 to 4.1.1. Now the generated html report doesn't contain any data. I keep getting what I believe is the template with the green button stating that "There are still running tests. Reload this page to get the latest results!". Clicking on reload does not make a difference. I'm positive that the tests are indeed finished as I can see the logs on stdout. I've tried inserting dummy data to ensure that the issue is not coming from what I'm inserting and I confirm that I still can't see anything in the report aside from the metadata.
When I downgrade to 4.0.2, I can see data being inserted in the table, but the green button still appears.
I have self-contained-report option active, I don't use --capture or --show-capture options, nor -s.
Please check the browser console, it's likely that the JS is failing for some reason.
I have no experience in this stuff but after looking it up all I can see is the following warning:
This seems unrelated? I can't see anything failing unless I'm looking at the wrong place?
I found this as well if it can be of any help:
@BeyondEvil sorry to bother you, is this the data you were looking for? Or should I look somewhere else?