Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
janfaracik committed Feb 13, 2022
1 parent 2555def commit 6ab2643
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/src/test/java/lib/layout/IconTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public void testTasks() throws Exception {
DomElement tasksDiv = p.getElementById("tasks");
List<DomElement> taskDivs = StreamSupport.stream(tasksDiv.getChildElements().spliterator(), false).collect(Collectors.toList());

assertIconToImageOkay(taskDivs.get(0).getElementsByTagName("img").get(0), "/images/svgs/up.svg");
assertIconToSymbolOkay(taskDivs.get(0).getElementsByTagName("svg").get(0));
// this is loading the png from cloudbees-folder plugin
// when this is swapped to an SVG and the dep updated this test will need to change
assertIconToImageOkay(taskDivs.get(1).getElementsByTagName("img").get(0), "/images/svgs/folder.svg");
Expand Down

0 comments on commit 6ab2643

Please sign in to comment.