summaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/test/java/com/vaadin/tests/resources/FrontendInitialResourceUITest.java5
-rw-r--r--uitest/src/test/java/com/vaadin/tests/resources/FrontendLaterLoadedResourceUITest.java5
2 files changed, 8 insertions, 2 deletions
diff --git a/uitest/src/test/java/com/vaadin/tests/resources/FrontendInitialResourceUITest.java b/uitest/src/test/java/com/vaadin/tests/resources/FrontendInitialResourceUITest.java
index ea19da72d3..2c5039717b 100644
--- a/uitest/src/test/java/com/vaadin/tests/resources/FrontendInitialResourceUITest.java
+++ b/uitest/src/test/java/com/vaadin/tests/resources/FrontendInitialResourceUITest.java
@@ -35,7 +35,10 @@ public class FrontendInitialResourceUITest extends MultiBrowserTest {
} else {
es = "es6";
}
- testBench().disableWaitForVaadin(); // For some reason needed by IE11
+ if (BrowserUtil.isIE(getDesiredCapabilities())) {
+ // For some reason needed by IE11
+ testBench().disableWaitForVaadin();
+ }
Assert.assertEquals("/VAADIN/frontend/" + es + "/logFilename.js",
findElement(By.tagName("body")).getText());
diff --git a/uitest/src/test/java/com/vaadin/tests/resources/FrontendLaterLoadedResourceUITest.java b/uitest/src/test/java/com/vaadin/tests/resources/FrontendLaterLoadedResourceUITest.java
index 0ead673567..4709ebbcc0 100644
--- a/uitest/src/test/java/com/vaadin/tests/resources/FrontendLaterLoadedResourceUITest.java
+++ b/uitest/src/test/java/com/vaadin/tests/resources/FrontendLaterLoadedResourceUITest.java
@@ -37,7 +37,10 @@ public class FrontendLaterLoadedResourceUITest extends MultiBrowserTest {
} else {
es = "es6";
}
- testBench().disableWaitForVaadin(); // For some reason needed by IE11
+ if (BrowserUtil.isIE(getDesiredCapabilities())) {
+ // For some reason needed by IE11
+ testBench().disableWaitForVaadin();
+ }
Assert.assertEquals("/VAADIN/frontend/" + es + "/logFilename.js",
findElement(By.tagName("body")).getText());