...
🔧 Got a problem? Let’s fix!
Unable to view Qualitia Suite Execution Summary Report in Jenkins
Problem: After an offline suite is executed using a Jenkins Job, the associated suite execution report is not displayed in Jenkins Reports.
...
A blank page opens
The following message is displayed:
“You need to enable JavaScript to view this”
Solution 1:
You need to set up the content policy in Jenkins.
...
Open the Jenkins Server.
Click Manage Jenkins >Manage Nodes.
Click the Settings icon for the node that you are using (Master node by default).
In the node page, select the Script Console option in the side menu.
In the script console, enter the following command line: System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", "default-src 'self' 'unsafe-inline';")
Click the Run button below to this console, and you should see the Result: with the above values printed.
Note: If you don’t see it in the first attempt, then retry this step.
You can now see the suite execution summary reports.
Solution 2:
The report does not load as by default the JavaScript is disabled in the latest version of Jenkin's.
Therefore, if Solution 1 does not work and the inline script fails to bypass the Content Security Policy (CSP), the alternative method is to enable the Chrome extension for CSP.
Steps to enable the Crome extension for CSP:
Open the Crome browser.
Navigate to Extensions and add https://chromewebstore.google.com/detail/disable-content-security/ieelmcmcagommplceebfedjlakkhpden?utm_source=ext_app_menu.
Adding this extension will disable the Content Security Policy, and you will be able to view the execution report.
📞📚 Here to Help: Support and Resources
...