danielpalme / ReportGenerator

ReportGenerator converts coverage reports generated by coverlet, OpenCover, dotCover, Visual Studio, NCover, Cobertura, JaCoCo, Clover, gcov or lcov into human readable reports in various formats.
https://reportgenerator.io
Apache License 2.0
2.58k stars 281 forks source link

Missing styling, icons etc in Azure DevOps #592

Closed aramB closed 1 year ago

aramB commented 1 year ago

I just installed ReportGenerator extension and configured it in my Azure DevOps. But it seems like that the summary/code coverage report is missing some styling and functionalities when I compare it with e.g. this example: https://reportgenerator.io/resources/reports/HtmlInline_AzurePipelines/index.html

With functionalities I mean e.g. the grouping function and the diagrams. With styling I mean the colors and so on.

From the example: image image

From my Azure DevOps: image image

What am I missing?

Thanks in advance!

danielpalme commented 1 year ago

Yes that's a limitation of Azure DevOps. Azure DevOps has very strict CSP-rules and blocks Javascript and some CSS rules.

If you download the corresponding artifact and open the report locally, you should have the full experience.

aramB commented 1 year ago

Ok, so does it mean that we can't have the full experience in Azure DevOps? Only locally? 😞

danielpalme commented 1 year ago

Yes.

aramB commented 1 year ago

Ok, thanks for quick reply!