From: Guille Date: Mon, 20 Nov 2017 08:19:40 +0000 (+0200) Subject: Update testbench version (#10336) X-Git-Tag: 8.3.0.alpha1~49 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=927cb26c510dec1b7348760a65ca4e9522651960;p=vaadin-framework.git Update testbench version (#10336) --- 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 @@ 2.0.1 - 5.0.0 + 5.1.0 2.0.0 2.0.0 diff --git a/pom.xml b/pom.xml index 96b9a3608c..89072506d2 100644 --- a/pom.xml +++ b/pom.xml @@ -61,7 +61,7 @@ true 3.0.1 - 5.0.0 + 5.1.0 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 @@ -406,30 +406,6 @@ public abstract class AbstractTB3Test extends ParallelTest { return vaadinLocator("PID_S" + id); } - /** - * 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 void waitUntil(ExpectedCondition 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 void waitUntil(ExpectedCondition 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,