From 644bee622288e3491a2d2af5d1f6a33242b01eb1 Mon Sep 17 00:00:00 2001 From: Henri Sara Date: Mon, 7 Aug 2017 10:10:00 +0300 Subject: 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. --- .../components/textfield/InputPromptAndCursorPositionTest.java | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'uitest') 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 getBrowsersToTest() { + // IE11 has a known bug with placeholders: + // https://connect.microsoft.com/IE/feedback/details/811408 + return getBrowsersExcludingIE(); + } + @Test public void verifyDatePattern() { openTestURL(); -- cgit v1.2.3