aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src
diff options
context:
space:
mode:
authorSauli Tähkäpää <sauli@vaadin.com>2015-02-02 11:08:30 +0200
committerVaadin Code Review <review@vaadin.com>2015-02-02 11:17:53 +0000
commit755f623e4d21b73a4f2b179553450512d7759795 (patch)
treee657dbe072800c214667daeea9b269e9cde45d49 /uitest/src
parentc2225299f9bf7a145c427bc204272faf5bc3f6d3 (diff)
downloadvaadin-framework-755f623e4d21b73a4f2b179553450512d7759795.tar.gz
vaadin-framework-755f623e4d21b73a4f2b179553450512d7759795.zip
Mitigate issues with AccordionClipsContentTest on IE8.
Change-Id: I7a617f2d1e9d9b24390ea3dded5b68d5f29eb9cb
Diffstat (limited to 'uitest/src')
-rw-r--r--uitest/src/com/vaadin/tests/components/accordion/AccordionClipsContentTest.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/uitest/src/com/vaadin/tests/components/accordion/AccordionClipsContentTest.java b/uitest/src/com/vaadin/tests/components/accordion/AccordionClipsContentTest.java
index b4f830d106..25e40e5ed3 100644
--- a/uitest/src/com/vaadin/tests/components/accordion/AccordionClipsContentTest.java
+++ b/uitest/src/com/vaadin/tests/components/accordion/AccordionClipsContentTest.java
@@ -15,10 +15,9 @@
*/
package com.vaadin.tests.components.accordion;
-import org.junit.Test;
-
import com.vaadin.testbench.elements.NativeButtonElement;
import com.vaadin.tests.tb3.MultiBrowserTest;
+import org.junit.Test;
public class AccordionClipsContentTest extends MultiBrowserTest {
@Override
@@ -48,6 +47,11 @@ public class AccordionClipsContentTest extends MultiBrowserTest {
$(NativeButtonElement.class).first().click();
+ // Give the button time to pop back up in IE8.
+ // If this sleep causes issues, next best thing is to click outside the
+ // button to remove focus - needs new screenshots for all browsers.
+ Thread.sleep(10);
+
compareScreen("button-clicked");
}