[JIRA] (JENKINS-61031) JenkinsRule#assertAllImageLoadSuccessfully fails to load SVG images

3 views
Skip to first unread message

fqueiruga@cloudbees.com (JIRA)

unread,
Feb 10, 2020, 6:52:02 AM2/10/20
to jenkinsc...@googlegroups.com
Félix Queiruga Balado created an issue
 
Jenkins / Bug JENKINS-61031
JenkinsRule#assertAllImageLoadSuccessfully fails to load SVG images
Issue Type: Bug Bug
Assignee: Félix Queiruga Balado
Components: jenkins-test-harness
Created: 2020-02-10 11:51
Priority: Minor Minor
Reporter: Félix Queiruga Balado

The method JenkinsRule#assertAllImageLoadSuccessfully tries to download all images provided by `<img>`  tags. It does so by reading the height of the image.

It throws an exception when trying to load SVG images on tags like `<img src="/path/to/example.svg" />`, because SVGs cannot be read by a buffered reader.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

fqueiruga@cloudbees.com (JIRA)

unread,
Feb 10, 2020, 6:52:02 AM2/10/20
to jenkinsc...@googlegroups.com
Félix Queiruga Balado started work on Bug JENKINS-61031
 
Change By: Félix Queiruga Balado
Status: Open In Progress
Reply all
Reply to author
Forward
0 new messages