mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-16 17:21:00 +00:00
trying to "blindly" add a wait for the new assert dialog; but see also comment #3 on bug 4183
Change-Id: Iaf14ca0bb33ba898157c6da58371bc7ded71bcf8
This commit is contained in:
1 parent
e27340b851
commit
e2fe66c513
1 file changed
+2
-4
+2
-4
@@ -17,6 +17,7 @@ import com.sap.sailing.domain.common.BoatClassMasterdata;
|
||||
import com.sap.sailing.selenium.core.BySeleniumId;
|
||||
import com.sap.sailing.selenium.core.FindBy;
|
||||
import com.sap.sailing.selenium.pages.PageArea;
|
||||
import com.sap.sailing.selenium.pages.adminconsole.ActionsHelper;
|
||||
import com.sap.sailing.selenium.pages.gwt.CellTablePO;
|
||||
import com.sap.sailing.selenium.pages.gwt.DataEntryPO;
|
||||
import com.sap.sailing.selenium.pages.gwt.GenericCellTablePO;
|
||||
@@ -194,25 +195,22 @@ public class TrackedRacesListPO extends PageArea {
|
||||
|
||||
public void remove(List<TrackedRaceDescriptor> races) {
|
||||
selectRaces(races);
|
||||
|
||||
removeSelectedTrackedRacesAndWaitForAjaxRequests();
|
||||
}
|
||||
|
||||
public void removeAll() {
|
||||
getTrackedRacesTable().selectAllEntries();
|
||||
|
||||
removeSelectedTrackedRacesAndWaitForAjaxRequests();
|
||||
}
|
||||
|
||||
private void removeSelectedTrackedRacesAndWaitForAjaxRequests() {
|
||||
this.removeButton.click();
|
||||
|
||||
ActionsHelper.acceptAlert(driver);
|
||||
waitForAjaxRequests();
|
||||
}
|
||||
|
||||
public void refresh() {
|
||||
this.refreshButton.click();
|
||||
|
||||
waitForAjaxRequests();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user