Bug 4339: fixed an issue where the some selenium tests failed when

executing under ubuntu
This commit is contained in:
Steffen Jacobs committed 2018-07-18 14:19:40 +02:00
1 parent 1d7b928555
commit 6a6f0fcbfa
1 file changed
+4 -3
@@ -53,11 +53,12 @@ public class RaceBoardPage extends HostPageWithAuthentication {
WebElement settingsDialog = null;
try {
settingsDialog = findElementBySeleniumId("raceMapSettings");
boolean exists = settingsDialog != null;
// exists, and was actually rendered (to apply the values)
return (exists && settingsDialog.isDisplayed());
} catch(Exception e) {
}
boolean exists = settingsDialog != null;
// exists, and was actually rendered (to apply the values)
return (exists && settingsDialog.isDisplayed());
return false;
}
});
return new MapSettingsPO(driver, findElementBySeleniumId("raceMapSettings"));