Skip to content

Commit

Permalink
different waits for assert and non-assert
Browse files Browse the repository at this point in the history
  • Loading branch information
labkey-chrisj committed Jan 11, 2024
1 parent cd0b90d commit 5ffe42a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/org/labkey/test/components/ui/grids/DetailTableEdit.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class DetailTableEdit extends WebDriverComponent<DetailTableEdit.ElementC
private final WebElement _formElement;
private final WebDriver _driver;
private String _title;
private int _readyTimeout = 1000;
private int _readyTimeout = WebDriverWrapper.WAIT_FOR_JAVASCRIPT;

protected DetailTableEdit(WebElement formElement, WebDriver driver)
{
Expand Down Expand Up @@ -344,7 +344,7 @@ public DetailTableEdit clearSelectValue(String fieldCaption, boolean waitForSele
String.format("The %s select did not have any selection in time", fieldCaption), _readyTimeout);
}
else {
WebDriverWrapper.waitFor(() -> select.hasSelection(), _readyTimeout);
WebDriverWrapper.waitFor(() -> select.hasSelection(), 1000);
}
}
select.clearSelection();
Expand Down

0 comments on commit 5ffe42a

Please sign in to comment.