} 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());
} 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());