-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to open the tabs on the generated htmlextra report #381
Comments
Are you able to send me the report file that's failing, please? You might need to change the file type to Also, if you open the Dev Tools, do you see any error in the console? |
报错如下 |
The default template uses external CDNs for most of the JavaScript and the report layout styling. It looks from the console output that these are not fully loading on your connection. This would cause actions like opening the tabs to fail. I've seen issues in the past where certain Google CDNs are blocked in China and changed a couple to accommodate that. I'm not sure about which CDNs would be allowed in your region and the ones that are allowed can be added on your side with a custom template. I won't be making any changes to the reporter from my side. |
@DannyDainton |
This is the template file that generates the final report: https://github.com/DannyDainton/newman-reporter-htmlextra/blob/main/lib/dashboard-template.hbs It the file, there are a series of URLs which are the CDNs for libraries like bootstrap, clipboard, jquery etc. If you make a new copy of this file, change those URLs to one's that would work in China you can use that with the reporter. You would need to use the
|
@DannyDainton |
Awesome! 👏 Did you want to share how you solved this or what you used? Just incase others run into the same problem. |
|
Another option:
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Is There An Existing Issue
What Are You Seeing
After the report is generated, the Request/Test details cannot be viewed by clicking on the 'Total Requests' or 'Failed Tests' or 'Skipped Tests' tabs

Steps To Reproduce The Issue
Full Newman Command Or Node Script
HTMLEXTRA Version
1.22.8
Newman Version
5.3.2
Additional Context
No response
The text was updated successfully, but these errors were encountered: