Skip to content
Snippets Groups Projects
Commit 5ef83ce7 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

stabilized selenium test

parent 160cd881
No related branches found
No related tags found
No related merge requests found
Pipeline #7578 failed
...@@ -44,6 +44,8 @@ class FilterTest extends SeleniumTestBase ...@@ -44,6 +44,8 @@ class FilterTest extends SeleniumTestBase
wait.until(ExpectedConditions.visibilityOfElementLocated(By.id("modalFilter"))); wait.until(ExpectedConditions.visibilityOfElementLocated(By.id("modalFilter")));
driver.findElement(By.id("section-type")).click(); driver.findElement(By.id("section-type")).click();
wait = new WebDriverWait(driver, Duration.ofSeconds(5));
wait.until(ExpectedConditions.visibilityOfElementLocated(By.cssSelector("#section-type .text-default")));
final WebElement checkBox = driver.findElement(By.cssSelector("#section-type .text-default")); final WebElement checkBox = driver.findElement(By.cssSelector("#section-type .text-default"));
checkBox.click(); checkBox.click();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment