diff options
-rw-r--r-- | bom/pom.xml | 2 | ||||
-rw-r--r-- | pom.xml | 2 | ||||
-rw-r--r-- | uitest/src/test/java/com/vaadin/tests/tb3/AbstractTB3Test.java | 24 |
3 files changed, 2 insertions, 26 deletions
diff --git a/bom/pom.xml b/bom/pom.xml index 3043a9f604..ea9f3a56ed 100644 --- a/bom/pom.xml +++ b/bom/pom.xml @@ -18,7 +18,7 @@ <properties> <vaadin.spring.version>2.0.1</vaadin.spring.version> - <vaadin.testbench.version>5.0.0</vaadin.testbench.version> + <vaadin.testbench.version>5.1.0</vaadin.testbench.version> <vaadin.cdi.version>2.0.0</vaadin.cdi.version> <vaadin.context-menu.version>2.0.0</vaadin.context-menu.version> </properties> @@ -61,7 +61,7 @@ <sonar.issuesReport.html.enable>true</sonar.issuesReport.html.enable> <vaadin.icons.version>3.0.1</vaadin.icons.version> - <vaadin.testbench.version>5.0.0</vaadin.testbench.version> + <vaadin.testbench.version>5.1.0</vaadin.testbench.version> </properties> <!-- TODO: remove this after maven plugin has been released --> diff --git a/uitest/src/test/java/com/vaadin/tests/tb3/AbstractTB3Test.java b/uitest/src/test/java/com/vaadin/tests/tb3/AbstractTB3Test.java index 300eeb1ca6..c33043b443 100644 --- a/uitest/src/test/java/com/vaadin/tests/tb3/AbstractTB3Test.java +++ b/uitest/src/test/java/com/vaadin/tests/tb3/AbstractTB3Test.java @@ -407,30 +407,6 @@ public abstract class AbstractTB3Test extends ParallelTest { } /** - * Waits up to 10s 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) { - waitUntil(condition, 10); - } - - /** - * 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); - } - - /** * Waits up to 10s for the given condition to become false. Use e.g. as * {@link #waitUntilNot(ExpectedConditions.textToBePresentInElement(by, * text))} |