Skip to content

Commit

Permalink
Update HudsonTest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
janfaracik committed Mar 2, 2025
1 parent a7876f7 commit fb0d6fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/src/test/java/hudson/model/HudsonTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,13 @@ public void searchIndex() throws Exception {
}

/**
* Top page should only have one item in the breadcrumb.
* Top page should have zero items in the breadcrumb.
*/
@Test
public void breadcrumb() throws Exception {
HtmlPage root = j.createWebClient().goTo("");
DomElement navbar = root.getElementById("breadcrumbs");
assertEquals(1, navbar.querySelectorAll(".jenkins-breadcrumbs__list-item").size());
assertEquals(0, navbar.querySelectorAll(".jenkins-breadcrumbs__list-item").size());
}

/**
Expand Down

0 comments on commit fb0d6fd

Please sign in to comment.