summaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/test/java/com/vaadin/tests/components/uitest/ThemeTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/uitest/src/test/java/com/vaadin/tests/components/uitest/ThemeTest.java b/uitest/src/test/java/com/vaadin/tests/components/uitest/ThemeTest.java
index f6f88baafe..39ee947fb6 100644
--- a/uitest/src/test/java/com/vaadin/tests/components/uitest/ThemeTest.java
+++ b/uitest/src/test/java/com/vaadin/tests/components/uitest/ThemeTest.java
@@ -129,7 +129,8 @@ public abstract class ThemeTest extends MultiBrowserTest {
private void testNotification(int id, String identifier)
throws IOException {
$(ButtonElement.class).id("notifButt" + id).click();
- waitForElementPresent(By.className("v-Notification"));
+ // For some reason, this seems to be more reliable on IE11
+ waitUntil(driver -> isElementPresent(NotificationElement.class), 10);
compareScreen(identifier);
$(NotificationElement.class).first().close();
}