diff options
author | Pekka Hyvönen <pekka@vaadin.com> | 2016-12-15 17:32:46 +0200 |
---|---|---|
committer | Henri Sara <henri.sara@gmail.com> | 2016-12-15 17:32:46 +0200 |
commit | dc01a9a4d85f78dba63c310fb9dc478cf1d40f8d (patch) | |
tree | 77d3b5aa8c820bb2a01a4ab2085f0fca0ced88fa /uitest-common/src/main/java | |
parent | 6185ad5d4e8d81fe9e59580b48343ec9d74bc8dc (diff) | |
download | vaadin-framework-dc01a9a4d85f78dba63c310fb9dc478cf1d40f8d.tar.gz vaadin-framework-dc01a9a4d85f78dba63c310fb9dc478cf1d40f8d.zip |
Update to TB 5.0.0.alpha2, add to BOM (#8009)
Diffstat (limited to 'uitest-common/src/main/java')
-rw-r--r-- | uitest-common/src/main/java/com/vaadin/testbench/customelements/NativeSelectElement.java | 3 | ||||
-rw-r--r-- | uitest-common/src/main/java/com/vaadin/testbench/customelements/TableElement.java | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/uitest-common/src/main/java/com/vaadin/testbench/customelements/NativeSelectElement.java b/uitest-common/src/main/java/com/vaadin/testbench/customelements/NativeSelectElement.java index 876f2e7c0b..a183951a29 100644 --- a/uitest-common/src/main/java/com/vaadin/testbench/customelements/NativeSelectElement.java +++ b/uitest-common/src/main/java/com/vaadin/testbench/customelements/NativeSelectElement.java @@ -35,8 +35,7 @@ public class NativeSelectElement extends AbstractSelectElement { } public List<TestBenchElement> getOptions() { - return wrapElements(selectElement.getOptions(), - getTestBenchCommandExecutor()); + return wrapElements(selectElement.getOptions(), getCommandExecutor()); } public void selectByText(String text) throws ReadOnlyException { diff --git a/uitest-common/src/main/java/com/vaadin/testbench/customelements/TableElement.java b/uitest-common/src/main/java/com/vaadin/testbench/customelements/TableElement.java index 733ddb5a8a..28432fade9 100644 --- a/uitest-common/src/main/java/com/vaadin/testbench/customelements/TableElement.java +++ b/uitest-common/src/main/java/com/vaadin/testbench/customelements/TableElement.java @@ -11,8 +11,7 @@ public class TableElement extends com.vaadin.testbench.elements.TableElement { 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 { |