File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/org/labkey/test/components/ui/notifications Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -193,11 +193,11 @@ protected ElementCache newElementCache()
193193
194194 protected class ElementCache extends Component <?>.ElementCache
195195 {
196- private final WebElement status = Locator .tagWithClass ( "i" , "fa" ).refindWhenNeeded (this );
196+ private final WebElement status = Locator .byClass ( "fa" ).refindWhenNeeded (this );
197197 private final WebElement message = Locator .tagWithClass ("span" , "server-notification-message" ).refindWhenNeeded (this );
198198 private final WebElement date = Locator .tagWithClass ("div" , "server-notification-data" ).refindWhenNeeded (this );
199199 private final WebElement userName = Locator .tagWithClass ("span" , "server-notification-data" ).refindWhenNeeded (this );
200- private final WebElement link = Locator .tagWithClass ( "span" , "server-notifications-link" ). childTag ("a" ).refindWhenNeeded (this );
200+ private final WebElement link = Locator .tag ("a" ).refindWhenNeeded (this );
201201 }
202202
203203
Original file line number Diff line number Diff line change @@ -274,11 +274,11 @@ public final WebElement noNotificationsElement()
274274 public final WebElement markAll ()
275275 {
276276 return Locator .tagWithClass ("h3" , "navbar-menu-header" )
277- .child (Locator .tagWithClass ( "div" , "server-notifications-link " ))
277+ .child (Locator .byClass ( "clickable-text " ))
278278 .refindWhenNeeded (elementCache ().menuContent );
279279 }
280280
281- public final WebElement viewAllLink = Locator .tagWithText ( "div" , "View all activity" ).refindWhenNeeded (this );
281+ public final WebElement viewAllLink = Locator .linkContainingText ( "View all activity" ).refindWhenNeeded (this );
282282
283283 }
284284
You can’t perform that action at this time.
0 commit comments