Skip to content

report.html not displaying properly #3428

Answered by mdmintz
Jeremy-QA asked this question in Q&A
Discussion options

You must be logged in to vote

If viewing pytest-html reports in Jenkins, you may need to configure Jenkins settings for the HTML to render correctly.
This is due to Jenkins CSP changes. That setting can be changed from Manage Jenkins > Script Console by running:

System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", "")

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Jeremy-QA
Comment options

Answer selected by mdmintz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants