I am fairly new to the newman-reporter-htmlextra hence do not have much information/knowledge about it. But while working for one of the projects where newman-reporter-htmlextra report is used, I see that the html report loads but some of the functionality does not work. I am seeing this issue after I removed the unsafe-inline tag from the CSP (content security policy) configuration in response header. unsafe-inline tag is removed, as it was violating the CSP validation. I see the following error attached screen shot. Any help would be great.
The template that creates the final report uses a number of different external/3rd party tools, it pulls the code in for these via a CDN reference in the template html.
From the error, it looks like datatables is the library that’s causing it. That’s the part that creates the test results table in each request.
You could take a copy of the template, update the reference and then use that template in the reporter command.