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 @@ -79,6 +79,11 @@ public GridRow select(boolean checked)
7979 return this ;
8080 }
8181
82+ public ReactCheckBox getCheckbox ()
83+ {
84+ return elementCache ().selectCheckbox ;
85+ }
86+
8287 /**
8388 * gets the cell at the specified index
8489 */
Original file line number Diff line number Diff line change @@ -293,6 +293,11 @@ public boolean hasSelectAllButton()
293293 return elementCache ().selectAllBtnLoc .findWhenNeeded (this ).isDisplayed ();
294294 }
295295
296+ public WebElement getSelectAllButton ()
297+ {
298+ return elementCache ().selectAllBtnLoc .findWhenNeeded (this );
299+ }
300+
296301 /**
297302 * Selects all rows in the target domain, including those on other pages, if there are any
298303 */
@@ -765,7 +770,7 @@ protected class ElementCache extends ResponsiveGrid<QueryGrid>.ElementCache
765770
766771 final Locator .XPathLocator selectionStatusContainerLoc = Locator .tagWithClass ("div" , "selection-status" );
767772 final Locator selectAllBtnLoc = selectionStatusContainerLoc .append (Locator .tagWithClass ("span" , "selection-status__select-all" )
768- .child (Locator .buttonContainingText ("Select all " )));
773+ .child (Locator .buttonContainingText ("Select" )));
769774 final Locator clearBtnLoc = selectionStatusContainerLoc .append (Locator .byClass ("selection-status__clear-all" )
770775 .child (Locator .tag ("button" )));
771776
You can’t perform that action at this time.
0 commit comments