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

stabilized selenium test

parent 5ef83ce7
No related branches found
No related tags found
No related merge requests found
Pipeline #7579 failed
......@@ -45,8 +45,8 @@ class FilterTest extends SeleniumTestBase
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"));
wait.until(ExpectedConditions.visibilityOfAllElementsLocatedBy(By.cssSelector("#section-type .text-default")));
final WebElement checkBox = driver.findElements(By.cssSelector("#section-type .text-default")).get(0);
checkBox.click();
driver.findElement(By.id("buttonApplyFilter")).click();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment