pytest-html icon indicating copy to clipboard operation
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.

Open maraevfd opened this issue 1 year ago • 1 comments

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.

maraevfd avatar Jul 24 '24 08:07 maraevfd

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

zingero avatar Sep 03 '24 08:09 zingero