diff options
author | Anna Koskinen <Ansku@users.noreply.github.com> | 2017-11-23 07:51:20 +0200 |
---|---|---|
committer | Aleksi Hietanen <aleksi@vaadin.com> | 2017-11-23 07:51:20 +0200 |
commit | e38ad29499328ddbf995d64612d932832d5bd628 (patch) | |
tree | bcff2921cdac116c2e5df7b0d9c2dec321392e77 | |
parent | e98bc8353c5751730a0e7f4ad9a1c1ebbf8a0fae (diff) | |
download | vaadin-framework-e38ad29499328ddbf995d64612d932832d5bd628.tar.gz vaadin-framework-e38ad29499328ddbf995d64612d932832d5bd628.zip |
Fix AbstractIntegrationTest to use new TestBench API (#10358)
-rw-r--r-- | test/servlet-containers/generic-tests/src/main/java/com/vaadin/tests/integration/AbstractIntegrationTest.java | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/test/servlet-containers/generic-tests/src/main/java/com/vaadin/tests/integration/AbstractIntegrationTest.java b/test/servlet-containers/generic-tests/src/main/java/com/vaadin/tests/integration/AbstractIntegrationTest.java index 89ca8f382d..21dca1cf57 100644 --- a/test/servlet-containers/generic-tests/src/main/java/com/vaadin/tests/integration/AbstractIntegrationTest.java +++ b/test/servlet-containers/generic-tests/src/main/java/com/vaadin/tests/integration/AbstractIntegrationTest.java @@ -12,8 +12,6 @@ import javax.imageio.ImageIO; import org.junit.After; import org.junit.runner.RunWith; -import org.openqa.selenium.support.ui.ExpectedCondition; -import org.openqa.selenium.support.ui.WebDriverWait; import com.vaadin.testbench.annotations.RunLocally; import com.vaadin.testbench.elements.UIElement; @@ -110,19 +108,6 @@ public abstract class AbstractIntegrationTest extends ParallelTest { } /** - * Waits the given number of seconds for the given condition to become true. - * Use e.g. as - * {@link #waitUntil(ExpectedConditions.textToBePresentInElement(by, text))} - * - * @param condition - * the condition to wait for to become true - */ - protected <T> void waitUntil(ExpectedCondition<T> condition, - long timeoutInSeconds) { - new WebDriverWait(driver, timeoutInSeconds).until(condition); - } - - /** * Returns the deployment context path with a leading slash. If not provided * through {@code deployment.context.path} system property, will default to * {@code /demo}. |