mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-20 19:20:04 +00:00
Changes to make "Show Simulator Overlay" setting in RaceMap
Selenium-testable
This commit is contained in:
1 parent
540568ea76
commit
a6d91e6437
2 files changed
+8
No files matched your search
+7
@@ -16,6 +16,9 @@ public class MapSettingsPO extends PageArea {
|
||||
|
||||
@FindBy(how = BySeleniumId.class, using = "SaveButton")
|
||||
private WebElement saveButton;
|
||||
|
||||
@FindBy(how = BySeleniumId.class, using = "showSimulatorOverlay-input")
|
||||
private WebElement showSimulatorOverlay;
|
||||
|
||||
public MapSettingsPO(WebDriver driver, WebElement element) {
|
||||
super(driver, element);
|
||||
@@ -54,4 +57,8 @@ public class MapSettingsPO extends PageArea {
|
||||
public boolean isWindChartSelected() {
|
||||
return raceMapSettingsWindChart.isSelected();
|
||||
}
|
||||
|
||||
public boolean isSimulatorOverlayAvailable() {
|
||||
return (showSimulatorOverlay != null);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user