KEYCLOAK-6831 Fix Microsoft Social Login test
This commit is contained in:
parent
2aa71d1737
commit
daaa35bc37
1 changed files with 4 additions and 0 deletions
|
@ -17,6 +17,7 @@
|
|||
|
||||
package org.keycloak.testsuite.pages.social;
|
||||
|
||||
import org.keycloak.testsuite.util.WaitUtils;
|
||||
import org.openqa.selenium.WebElement;
|
||||
import org.openqa.selenium.support.FindBy;
|
||||
|
||||
|
@ -35,9 +36,12 @@ public class MicrosoftLoginPage extends AbstractSocialLoginPage {
|
|||
|
||||
@Override
|
||||
public void login(String user, String password) {
|
||||
WaitUtils.pause(5000); // we need to take it a bit slower
|
||||
usernameInput.clear();
|
||||
usernameInput.sendKeys(user);
|
||||
submitButton.click();
|
||||
|
||||
WaitUtils.pause(5000);
|
||||
passwordInput.sendKeys(password);
|
||||
submitButton.click();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue