KEYCLOAK-6831 Fix Microsoft Social Login test
This commit is contained in:
1 parent
2aa71d1737
commit
daaa35bc37
1 file changed
+4
+4
@@ -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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user