File tree Expand file tree Collapse file tree
src/org/labkey/test/components/ui Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -543,6 +543,7 @@ public DetailDataPanel clickCancel()
543543 {
544544 String title = getSourceTitle ();
545545 elementCache ().cancelButton .click ();
546+ getWrapper ().shortWait ().until (ExpectedConditions .stalenessOf (elementCache ().cancelButton ));
546547 return new DetailDataPanel .DetailDataPanelFinder (getDriver ()).withTitle (title ).waitFor ();
547548 }
548549
Original file line number Diff line number Diff line change @@ -158,9 +158,9 @@ public void clickMarkAll()
158158 public ImportsPage clickViewAll ()
159159 {
160160 expand ();
161- WebDriverWrapper .waitFor (elementCache ().viewAllLink ::isDisplayed ,
161+ WebDriverWrapper .waitFor (elementCache ().viewAllLink () ::isDisplayed ,
162162 "View all link did not become visible." , 2_500 );
163- elementCache ().viewAllLink .click ();
163+ elementCache ().viewAllLink () .click ();
164164 return new ImportsPage (getWrapper ());
165165 }
166166
@@ -278,7 +278,10 @@ public final WebElement markAll()
278278 .refindWhenNeeded (elementCache ().menuContent );
279279 }
280280
281- public final WebElement viewAllLink = Locator .linkContainingText ("View all activity" ).refindWhenNeeded (this );
281+ public final WebElement viewAllLink ()
282+ {
283+ return Locator .linkContainingText ("View all activity" ).refindWhenNeeded (this );
284+ }
282285
283286 }
284287
You can’t perform that action at this time.
0 commit comments