Skip to content

Commit

Permalink
Fix cropper not loading correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
strangelookingnerd committed Nov 28, 2024
1 parent faeddec commit 814555b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/test/java/jenkins/plugins/foldericon/UITest.java
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,7 @@ void customFolderIconCroppieLoaded(JenkinsRule r) throws Throwable {
DomElement cropper = configure.getElementById("custom-icon-cropper");
assertNotNull(cropper);

for (DomElement element : cropper.getElementsByTagName("img")) {
System.out.println(element.getAttribute("src"));
}

DomElement image = cropper.getElementsByTagName("img").get(0);

assertNotNull(image);
assertEquals("/jenkins/plugin/custom-folder-icon/icons/default.svg", image.getAttribute("src"));
}
Expand Down

0 comments on commit 814555b

Please sign in to comment.