KEYCLOAK-6831 Fix Microsoft Social Login test

This commit is contained in:
vmuzikar 2018-03-12 13:18:16 +01:00 committed by Pavel Drozd
parent 2aa71d1737
commit daaa35bc37

View file

@ -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();
}