File tree Expand file tree Collapse file tree
onprc_ehr/test/src/org/labkey/test/tests/onprc_ehr Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2004,7 +2004,7 @@ public void testNotificationAdminAudits() throws Exception
20042004 // Identify two notifications by extracting their keys from the Run Report links
20052005 beginAt (WebTestHelper .getBaseURL () + "/ldk/" + getContainerPath () + "/notificationAdmin.view" );
20062006 List <WebElement > runLinks = Locator .tagContainingText ("a" , "Run Report In Browser" ).findElements (getDriver ());
2007- Assert . assertTrue ( "Expected at least two notifications to be available" , runLinks . size () >= 2 );
2007+ waitFor (() -> runLinks . size () >= 2 , "Expected at least two notifications to be available" , WAIT_FOR_PAGE );
20082008
20092009 List <String > notifKeys = new ArrayList <>();
20102010 for (int i = 0 ; i < Math .min (2 , runLinks .size ()); i ++)
You can’t perform that action at this time.
0 commit comments