summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenri Sara <henri.sara@gmail.com>2017-08-07 10:10:00 +0300
committerGitHub <noreply@github.com>2017-08-07 10:10:00 +0300
commit644bee622288e3491a2d2af5d1f6a33242b01eb1 (patch)
treedecbd8dd174a25315720866599f1e06f6bfafb21
parente38ea94b9957280c5cc38daec392faa2ab81e100 (diff)
downloadvaadin-framework-644bee622288e3491a2d2af5d1f6a33242b01eb1.tar.gz
vaadin-framework-644bee622288e3491a2d2af5d1f6a33242b01eb1.zip
Make input prompt test stable by excluding IE11 (#9780)
IE10-11 have a related bug https://connect.microsoft.com/IE/feedback/details/811408 that is only fixed in Edge.
-rw-r--r--uitest/src/test/java/com/vaadin/tests/components/textfield/InputPromptAndCursorPositionTest.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/uitest/src/test/java/com/vaadin/tests/components/textfield/InputPromptAndCursorPositionTest.java b/uitest/src/test/java/com/vaadin/tests/components/textfield/InputPromptAndCursorPositionTest.java
index 8a036787f0..b1a8ad6f94 100644
--- a/uitest/src/test/java/com/vaadin/tests/components/textfield/InputPromptAndCursorPositionTest.java
+++ b/uitest/src/test/java/com/vaadin/tests/components/textfield/InputPromptAndCursorPositionTest.java
@@ -2,7 +2,10 @@ package com.vaadin.tests.components.textfield;
import static org.junit.Assert.assertEquals;
+import java.util.List;
+
import org.junit.Test;
+import org.openqa.selenium.remote.DesiredCapabilities;
import com.vaadin.testbench.elements.ButtonElement;
import com.vaadin.testbench.elements.LabelElement;
@@ -11,6 +14,13 @@ import com.vaadin.tests.tb3.MultiBrowserTest;
public class InputPromptAndCursorPositionTest extends MultiBrowserTest {
+ @Override
+ public List<DesiredCapabilities> getBrowsersToTest() {
+ // IE11 has a known bug with placeholders:
+ // https://connect.microsoft.com/IE/feedback/details/811408
+ return getBrowsersExcludingIE();
+ }
+
@Test
public void verifyDatePattern() {
openTestURL();