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

stabilized integration tests

parent 50dd4ab2
No related branches found
No related tags found
No related merge requests found
Pipeline #4078 failed
......@@ -124,7 +124,9 @@ public class IntegrationTestHelper
// confirm import
WebDriverWait wait = new WebDriverWait(driver, 5);
wait.until(ExpectedConditions.visibilityOfElementLocated(By.id("buttonImport")));
driver.findElement(By.id("buttonImport")).click();
final WebElement buttonImport = driver.findElement(By.id("buttonImport"));
buttonImport.sendKeys("");
buttonImport.click();
assertEquals(Localization.getString("menu.settings"), IntegrationTestHelper.getTextNode(driver.findElement(By.className("headline"))));
......
......@@ -67,6 +67,7 @@ public class SearchTest
FirefoxOptions options = new FirefoxOptions();
options.setHeadless(true);
driver = new FirefoxDriver(options);
driver.manage().window().maximize();
// prepare
IntegrationTestHelper helper = new IntegrationTestHelper(driver, port);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment