pytest-html icon indicating copy to clipboard operation
pytest-html copied to clipboard

Pytest Jenkins report failure and skip messages are corrupt in version

Open gs202 opened this issue 3 years ago • 2 comments

I'm not sure why, but after upgrading version 2.1.1 to 3.1.1 the jenkins report fail, skip and xfail messages corrupt. As can be seen from the screenshots below, only the plugging version is different in my setup:

[tool.pytest.ini_options]
addopts = '--html=reports/report.html --self-contained-html --junitxml=reports/jreport.xml --color=yes --tb=native -l --code-highlight=yes'
junit_family='xunit2'

Report in version 2.1.1 image

Report in version 3.1.1 image

looks like the issue started at version 3.0.0

gs202 avatar Feb 22 '22 06:02 gs202

is this in combination with a pytest update or in isolation?

RonnyPfannschmidt avatar Feb 22 '22 08:02 RonnyPfannschmidt

In both cases pytest==7.0.1. I've degraded pytest-html version only (from 3.1.1 to 2.1.1) and the report was displayed as expected

gs202 avatar Feb 23 '22 06:02 gs202