pytest-html
pytest-html copied to clipboard
Error : The 'td' start tag on line 347 position 12 does not match the end tag of 'th'. Line 347, position 65.
Bug Description for pytest-html Plugin Summary: The pytest-html plugin encounters issues generating a valid HTML report, leading to a warning in Azure DevOps and subsequent failure in publishing test results. The primary error indicates a mismatched HTML tag, causing the HTML report to be malformed. Steps to Reproduce:
- Run tests using pytest with the pytest-html plugin to generate an HTML report.
- Attempt to publish the HTML report in an Azure DevOps pipeline.
- Observe the above error messages indicating issues with reading and publishing the test report.
Hi, I encountered this one as well and fixed it here https://github.com/pytest-dev/pytest-html/pull/834