mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-10 04:51:07 +00:00
Bug 4339: Ensures that we wait for dialogs to close when clicking ok
This commit is contained in:
1 parent
f00a4325ef
commit
c1e80ee40f
1 file changed
+3
+3
@@ -75,6 +75,9 @@ public abstract class DataEntryDialogPO extends PageArea {
|
||||
// Wait, since we do a callback usually
|
||||
waitForAjaxRequests();
|
||||
}
|
||||
|
||||
// This waits until the dialog is physically closed to make sure further don't fail because the dialog still covers other elements
|
||||
new WebDriverWait(driver, 20).until(driver -> !((WebElement)context).isDisplayed());
|
||||
}
|
||||
|
||||
public void pressCancel() {
|
||||
|
||||
Reference in new issue
Block a user