Skip to content

Commit

Permalink
See if scrolling the checkbox into view will fix the error on TeamCity.
Browse files Browse the repository at this point in the history
  • Loading branch information
labkey-danield committed Dec 6, 2023
1 parent 56e86e0 commit 062964d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/org/labkey/test/components/ui/grids/GridRow.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public GridRow select(boolean checked)
{
assertTrue("The row does not have a select box", hasSelectColumn());
getWrapper().shortWait().until(ExpectedConditions.elementToBeClickable(elementCache().selectCheckbox.getComponentElement()));
getWrapper().scrollIntoView(getComponentElement());
if (elementCache().selectCheckbox.get() != checked)
{
_grid.doAndWaitForUpdate(()-> elementCache().selectCheckbox.set(checked));
Expand Down

0 comments on commit 062964d

Please sign in to comment.