mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-16 07:10:48 +00:00
Bug 4339: fixed an issue where the some selenium tests failed when
executing under ubuntu
This commit is contained in:
1 parent
1d7b928555
commit
6a6f0fcbfa
1 file changed
+4
-3
+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"));
|
||||
|
||||
Reference in new issue
Block a user