Update to pass selenium tests on custom filter panel

This commit is contained in:
2023-06-20 08:33:15 -05:00
parent 8b38cf8fa3
commit dc00144209
5 changed files with 61 additions and 21 deletions

View File

@ -116,6 +116,26 @@ public class QSeleniumLib
/*******************************************************************************
**
*******************************************************************************/
public void waitForMillis(int n)
{
try
{
new WebDriverWait(driver, Duration.ofMillis(n))
.until(ExpectedConditions.presenceOfElementLocated(By.cssSelector(".wontEverBePresent")));
}
catch(Exception e)
{
///////////////////
// okay, resume. //
///////////////////
}
}
/*******************************************************************************
**
*******************************************************************************/