<properties>
<vaadin.spring.version>2.0-SNAPSHOT</vaadin.spring.version>
+ <vaadin.testbench.version>5.0.0.alpha2</vaadin.testbench.version>
</properties>
<repositories>
</dependency>
<!-- AddOn Dependencies -->
-
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-spring-boot-starter</artifactId>
<artifactId>vaadin-spring</artifactId>
<version>${vaadin.spring.version}</version>
</dependency>
+ <dependency>
+ <groupId>com.vaadin</groupId>
+ <artifactId>vaadin-testbench</artifactId>
+ <version>${vaadin.testbench.version}</version>
+ </dependency>
</dependencies>
</dependencyManagement>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-testbench</artifactId>
- <version>5.0.0.alpha1</version>
+ <version>5.0.0.alpha2</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
}
public List<TestBenchElement> getOptions() {
- return wrapElements(selectElement.getOptions(),
- getTestBenchCommandExecutor());
+ return wrapElements(selectElement.getOptions(), getCommandExecutor());
}
public void selectByText(String text) throws ReadOnlyException {
getCollapseMenuToggle().click();
WebElement cm = getDriver()
.findElement(By.xpath("//*[@id='PID_VAADIN_CM']"));
- return wrapElement(cm, getTestBenchCommandExecutor())
- .wrap(CollapseMenu.class);
+ return wrapElement(cm, getCommandExecutor()).wrap(CollapseMenu.class);
}
public static class CollapseMenu extends ContextMenuElement {
<dependency org="org.hsqldb" name="hsqldb" rev="2.2.6"
conf="build -> default" />
<dependency org="com.vaadin" name="vaadin-testbench"
- rev="5.0.0.alpha1" conf="build-provided -> default" />
+ rev="5.0.0.alpha2" conf="build-provided -> default" />
<!-- This should be removed once tests have been updated to use lang3 -->
<dependency org="commons-lang" name="commons-lang"
rev="2.6" conf="build -> default" />
}
private String getHiddenText(WebElement element) {
- return (String) getTestBenchCommandExecutor()
+ return (String) getCommandExecutor()
.executeScript("return arguments[0].innerHTML", element);
}
}