mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-20 19:20:04 +00:00
Extended SeriesEditDialogPO to add a single race without number suffix
This commit is contained in:
1 parent
34f412b791
commit
fbdecee214
1 file changed
+9
+9
@@ -92,6 +92,15 @@ public class SeriesEditDialogPO extends DataEntryDialogPO {
|
||||
pressAddRaces();
|
||||
}
|
||||
|
||||
public void addSingleRace(String raceName) {
|
||||
setFromNumberOfRacesToAdd(1);
|
||||
setToNumberOfRacesToAdd(1);
|
||||
pressAddRaces();
|
||||
final WebElement raceNameElement = findElementBySeleniumId("ValueTextBox");
|
||||
raceNameElement.clear();
|
||||
raceNameElement.sendKeys(raceName);
|
||||
}
|
||||
|
||||
public void renameRace(String race, String newName) {
|
||||
for(WebElement editorRow : getRaceNameEditors()) {
|
||||
WebElement valueTextBox = findElementBySeleniumId(editorRow, "ValueTextBox");
|
||||
|
||||
Reference in new issue
Block a user