pytest-dev / pytest-dev/pytest-html
Error : The 'td' start tag on line 347 position 12 does not match the end tag of 'th'. Line 347, position 65.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 779
- Forks
- 260
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the report-generation steps with pytest-html and inspect the generated HTML around line 347, where the mismatched td and th tags are reported. Then try publishing that report in an Azure DevOps pipeline. Done means the generated report is valid HTML and can be published without the parsing warning or failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100