diff options
-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}. |