Skip to content

Commit ed2f48c

Browse files
committed
Revert link count expectation
1 parent 88e651b commit ed2f48c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/org/labkey/test/tests/AdminConsoleNavigationTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public void testAdminNavTrails()
8080
"View Primary Site Log File" // No nav trail
8181
));
8282
List<WebElement> adminLinks = ShowAdminPage.beginAt(this).getAllAdminConsoleLinks();
83-
assertTrue(String.format("Failed sanity check. Only found %s admin links. There should be more.", adminLinks.size()), adminLinks.size() > 20);
83+
assertTrue(String.format("Failed sanity check. Only found %s admin links. There should be more.", adminLinks.size()), adminLinks.size() > 10);
8484
Map<String, String> linkHrefs = new HashMap<>();
8585

8686
for (WebElement link : adminLinks)
@@ -123,7 +123,7 @@ public void testTroubleshooterLinkAccess()
123123
impersonate(TROUBLESHOOTER);
124124
Map<String, String> linkHrefs = new LinkedHashMap<>();
125125
List<WebElement> troubleshooterLinks = adminConsole.getAllAdminConsoleLinks();
126-
assertTrue(String.format("Failed sanity check. Only found %s admin links. There should be more.", troubleshooterLinks.size()), troubleshooterLinks.size() > 20);
126+
assertTrue(String.format("Failed sanity check. Only found %s admin links. There should be more.", troubleshooterLinks.size()), troubleshooterLinks.size() > 10);
127127
for (WebElement link : troubleshooterLinks)
128128
linkHrefs.put(link.getText(), link.getAttribute("href"));
129129

@@ -158,7 +158,7 @@ public void testAdminConsoleLinksForAdminAndNonAdmin()
158158
));
159159
ShowAdminPage adminConsole = goToAdminConsole();
160160
List<WebElement> adminLinks = adminConsole.getAllAdminConsoleLinks();
161-
assertTrue(String.format("Failed sanity check. Only found %s admin links. There should be more.", adminLinks.size()), adminLinks.size() > 20);
161+
assertTrue(String.format("Failed sanity check. Only found %s admin links. There should be more.", adminLinks.size()), adminLinks.size() > 10);
162162
Map<String, String> linkHrefs = new LinkedHashMap<>();
163163
for (WebElement link : adminLinks)
164164
linkHrefs.put(link.getText(), link.getAttribute("href"));

0 commit comments

Comments
 (0)