aboutsummaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
authorAleksi Hietanen <aleksi@vaadin.com>2017-05-22 14:55:02 +0300
committerHenri Sara <henri.sara@gmail.com>2017-05-22 14:55:02 +0300
commite746334d6444bb16c099f31480919b9020a69bc7 (patch)
tree0cd8b4f8a54052d376acda3651eca316a7d3b217 /uitest
parent3f4c1e734db4c0a3fe2db04557de7c93ae7814e4 (diff)
downloadvaadin-framework-e746334d6444bb16c099f31480919b9020a69bc7.tar.gz
vaadin-framework-e746334d6444bb16c099f31480919b9020a69bc7.zip
Fix CheckboxFocusClickTest on Firefox (#9397)
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/test/java/com/vaadin/tests/components/checkbox/CheckboxFocusClickTest.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/uitest/src/test/java/com/vaadin/tests/components/checkbox/CheckboxFocusClickTest.java b/uitest/src/test/java/com/vaadin/tests/components/checkbox/CheckboxFocusClickTest.java
index 882cb442c9..63d54ff372 100644
--- a/uitest/src/test/java/com/vaadin/tests/components/checkbox/CheckboxFocusClickTest.java
+++ b/uitest/src/test/java/com/vaadin/tests/components/checkbox/CheckboxFocusClickTest.java
@@ -15,13 +15,14 @@
*/
package com.vaadin.tests.components.checkbox;
-import com.vaadin.testbench.By;
-import com.vaadin.testbench.elements.CheckBoxElement;
-import com.vaadin.tests.tb3.MultiBrowserTest;
import org.junit.Assert;
import org.junit.Test;
import org.openqa.selenium.WebElement;
+import com.vaadin.testbench.By;
+import com.vaadin.testbench.elements.CheckBoxElement;
+import com.vaadin.tests.tb3.MultiBrowserTest;
+
public class CheckboxFocusClickTest extends MultiBrowserTest {
@Test
@@ -31,7 +32,7 @@ public class CheckboxFocusClickTest extends MultiBrowserTest {
Assert.assertEquals("checked", checkbox.getValue());
WebElement label = checkbox.findElement(By.xpath("label"));
- clickElement(label);
+ label.click();
Assert.assertEquals("1. checkbox focused", getLogRow(0));
}
}