From 927cb26c510dec1b7348760a65ca4e9522651960 Mon Sep 17 00:00:00 2001 From: Guille Date: Mon, 20 Nov 2017 10:19:40 +0200 Subject: [PATCH] Update testbench version (#10336) --- bom/pom.xml | 2 +- pom.xml | 2 +- .../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 @@ 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, -- 2.39.5