pytest-dev / pytest-html

Plugin for generating HTML reports for pytest results
Other
707 stars 236 forks source link

Error : The 'td' start tag on line 347 position 12 does not match the end tag of 'th'. Line 347, position 65. #823

Open maraevfd opened 4 months ago

maraevfd commented 4 months ago

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:

  1. Run tests using pytest with the pytest-html plugin to generate an HTML report.
  2. Attempt to publish the HTML report in an Azure DevOps pipeline.
  3. Observe the above error messages indicating issues with reading and publishing the test report.
zingero commented 2 months ago

Hi, I encountered this one as well and fixed it here https://github.com/pytest-dev/pytest-html/pull/834