Closed bramborman closed 1 year ago
The problem here is that Azure DevOps blocks JavaScript and some CSS rules (see #592). There is nothing I can do about it.
If you download the report, everything works fine and your local dark theme is picked up.
I updated the documenation:
When publishing the reports to Azure DevOps some features are not supported (light/dark theme, dynamic filtering). The reason is, that strict CSP rules are applied and JavaScript and some CSS rules are blocked.
The wiki says:
My Windows 10, browser (Edge) and Azure DevOps themes are all set to be dark, but the report is light when displayed in the Azure Pipelines UI, anyway:
I'm using the extension v5.1.18 in Azure DevOps Services (cloud) and this really is the file generated by this version. When I download it from the artifacts, the dark/light colors work fine. I've been looking into that and it seems that Azure DevOps cleans the HTML file of some tags and also CSS, resulting in this behavior when displayed in the Pipelines UI. I don't know if there's a way to fix this on your side, so at least the documentation here should be updated.