<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>
<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 -->
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,