Skip to content
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

Missing resources in serenity-report-resources #1971

Closed
pogodins opened this issue Feb 24, 2020 · 0 comments
Closed

Missing resources in serenity-report-resources #1971

pogodins opened this issue Feb 24, 2020 · 0 comments

Comments

@pogodins
Copy link
Contributor

pogodins commented Feb 24, 2020

Some resources are missing in the report:

  • chartist-plugin-tooltip.min.css which is referred by serenity-report-resources/src/main/resources/freemarker/libraries/chartist.ftl
  • sort_both.png and sort_asc.png which are referred by serenity-report-resources/src/main/resources/report-resources/datatables/1.10.19/datatables.min.css

These missing reports are causing 404 errors in Network tab and Refused to apply style from 'http://localhost:63343/backend-test-framework/target/site/serenity/chartist/chartist-plugin-tooltip/dist/chartist-plugin-tooltip.min.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled..

However, I don't see any problems with the report. Maybe these resources should not be referred at all?
Please refer to the screenshots taken from the report generated using Serenity v2.1.6:
image
image
image

Chartist plugin looks to be affected by this change: a6db71a#diff-562a606db675299a988b8e34aa07c9e7.
For sorting images, I can't find any appearance. Maybe they weren't ever present in the repo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants