File tree Expand file tree Collapse file tree
src/org/labkey/test/components/ui/grids Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -317,7 +317,7 @@ public QueryGrid selectAllRows()
317317
318318 public boolean hasItemsSelected ()
319319 {
320- return Locator .tagWithClass ( "span" , "selection-status__count" ).existsIn (elementCache ());
320+ return Locator .byClass ( "selection-status__count" ).existsIn (elementCache ());
321321 }
322322
323323 public String getSelectionStatusCount ()
@@ -764,8 +764,8 @@ protected class ElementCache extends ResponsiveGrid<QueryGrid>.ElementCache
764764 final Locator .XPathLocator selectionStatusContainerLoc = Locator .tagWithClass ("div" , "selection-status" );
765765 final Locator selectAllBtnLoc = selectionStatusContainerLoc .append (Locator .tagWithClass ("span" , "selection-status__select-all" )
766766 .child (Locator .buttonContainingText ("Select all" )));
767- final Locator clearBtnLoc = selectionStatusContainerLoc .append (Locator .tagWithClass ( "span" , "selection-status__clear-all" )
768- .child (Locator .tagContainingText ("button" , "Clear " )));
767+ final Locator clearBtnLoc = selectionStatusContainerLoc .append (Locator .byClass ( "selection-status__clear-all" )
768+ .child (Locator .tag ("button" )));
769769
770770 final WebElement filterStatusPanel = Locator .css ("div.grid-panel__filter-status" ).findWhenNeeded (this );
771771
You can’t perform that action at this time.
0 commit comments