summaryrefslogtreecommitdiffstats
path: root/uitest-common/src
diff options
context:
space:
mode:
authorAleksi Hietanen <aleksi@vaadin.com>2016-10-07 09:41:33 +0300
committerAleksi Hietanen <aleksi@vaadin.com>2016-10-07 15:19:22 +0000
commit0fa0160eb992ca68cf3bddffdfc838099c26e5f4 (patch)
treefbf1fd5f28f2b6838d85a2df8cd88398e46edfda /uitest-common/src
parentcef3c7e5ec6156af9d4b9686047bc04c2c7b1c3f (diff)
downloadvaadin-framework-0fa0160eb992ca68cf3bddffdfc838099c26e5f4.tar.gz
vaadin-framework-0fa0160eb992ca68cf3bddffdfc838099c26e5f4.zip
Revert NativeSelect DOM structure change8.0.0.alpha4
Change-Id: I11dcd769dd81a90b41cc74707ef8d6ef4ddc9be7
Diffstat (limited to 'uitest-common/src')
-rw-r--r--uitest-common/src/main/java/com/vaadin/testbench/customelements/NativeSelectElement.java7
1 files changed, 1 insertions, 6 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 289162ee27..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
@@ -31,12 +31,7 @@ public class NativeSelectElement extends AbstractSelectElement {
@Override
protected void init() {
super.init();
- // FIXME: Newer NativeSelect has different DOM structure.
- if (getTagName().equals("select")) {
- selectElement = new Select(this);
- } else {
- selectElement = new Select(findElement(By.tagName("select")));
- }
+ selectElement = new Select(findElement(By.tagName("select")));
}
public List<TestBenchElement> getOptions() {