]> source.dussan.org Git - vaadin-framework.git/commitdiff
Update testbench version (#10336)
authorGuille <alvarezguille@users.noreply.github.com>
Mon, 20 Nov 2017 08:19:40 +0000 (10:19 +0200)
committerAleksi Hietanen <aleksi@vaadin.com>
Mon, 20 Nov 2017 08:19:40 +0000 (10:19 +0200)
bom/pom.xml
pom.xml
uitest/src/test/java/com/vaadin/tests/tb3/AbstractTB3Test.java

index 3043a9f604042068eb1acaba7bec2cc5db36cc57..ea9f3a56ede7ef7cd75c725c3130ea56bcbea0ee 100644 (file)
@@ -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>
diff --git a/pom.xml b/pom.xml
index 96b9a3608cce1e8ba87c1239eb9e367387693386..89072506d2cc1b74a1ef17f8140f14adb4b00c53 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -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 -->
index 300eeb1ca6cb4a15c92701c0d60dc2e7ff3b588d..c33043b443b133e1cbcb79d9616c2c38982d76a5 100644 (file)
@@ -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 <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,