c11a11341294611a02e0d25fcd0bbd140074ff06
java/com.sap.sailing.selenium.test/src/com/sap/sailing/selenium/pages/adminconsole/usermanagement/UserManagementPanelPO.java
| ... | ... | @@ -187,6 +187,9 @@ public class UserManagementPanelPO extends PageArea { |
| 187 | 187 | final WebElement action = ActionsHelper.findUnlockAction(entry.getWebElement()); |
| 188 | 188 | action.click(); |
| 189 | 189 | } |
| 190 | + waitUntilAlertIsPresent(); |
|
| 191 | + driver.switchTo().alert().accept(); |
|
| 192 | + waitForAjaxRequests(); |
|
| 190 | 193 | } |
| 191 | 194 | |
| 192 | 195 | public void waitUntilUserFound(String userName) { |
java/com.sap.sailing.selenium.test/src/com/sap/sailing/selenium/test/adminconsole/usermanagement/TestUserManagement.java
| ... | ... | @@ -110,7 +110,7 @@ public class TestUserManagement extends AbstractSeleniumTest { |
| 110 | 110 | createUser(userManagementPanel); |
| 111 | 111 | // logout so test user can login |
| 112 | 112 | AuthenticationMenuPO authenticationMenu = logoutAndGoToAdminConsolePage().getAuthenticationMenu(); |
| 113 | - attemptAbusiveLogins(TEST_USER_NAME, "wrongPassword", 5, authenticationMenu); |
|
| 113 | + attemptAbusiveLogins(TEST_USER_NAME, "wrongPassword", 6, authenticationMenu); |
|
| 114 | 114 | // 16s lock window in place now, sufficient to log into admin, unlock user |
| 115 | 115 | // and return till test user can login, within the erstwhile lock window |
| 116 | 116 | assertTrue(authenticationMenu.attemptLogin("admin", "admin")); |