diff --git a/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/pages/social/FacebookLoginPage.java b/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/pages/social/FacebookLoginPage.java index e0909db54f..7de9d862e2 100644 --- a/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/pages/social/FacebookLoginPage.java +++ b/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/pages/social/FacebookLoginPage.java @@ -35,6 +35,7 @@ public class FacebookLoginPage extends AbstractSocialLoginPage { @Override public void login(String user, String password) { + emailInput.clear(); emailInput.sendKeys(user); passwordInput.sendKeys(password); loginButton.click(); diff --git a/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/pages/social/GitHubLoginPage.java b/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/pages/social/GitHubLoginPage.java index 328d4b695b..fdf35aded7 100644 --- a/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/pages/social/GitHubLoginPage.java +++ b/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/pages/social/GitHubLoginPage.java @@ -35,6 +35,7 @@ public class GitHubLoginPage extends AbstractSocialLoginPage { @Override public void login(String user, String password) { + usernameInput.clear(); usernameInput.sendKeys(user); passwordInput.sendKeys(password); loginButton.click(); diff --git a/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/pages/social/GoogleLoginPage.java b/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/pages/social/GoogleLoginPage.java index 529a225588..dee2ae6955 100644 --- a/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/pages/social/GoogleLoginPage.java +++ b/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/pages/social/GoogleLoginPage.java @@ -41,6 +41,7 @@ public class GoogleLoginPage extends AbstractSocialLoginPage { firstAccount.click(); } catch (NoSuchElementException e) { + emailInput.clear(); emailInput.sendKeys(user); emailInput.sendKeys(Keys.RETURN); } diff --git a/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/pages/social/LinkedInLoginPage.java b/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/pages/social/LinkedInLoginPage.java index d8332ad624..e2b7e51715 100644 --- a/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/pages/social/LinkedInLoginPage.java +++ b/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/pages/social/LinkedInLoginPage.java @@ -35,6 +35,7 @@ public class LinkedInLoginPage extends AbstractSocialLoginPage { @Override public void login(String user, String password) { + usernameInput.clear(); usernameInput.sendKeys(user); passwordInput.sendKeys(password); loginButton.click(); diff --git a/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/pages/social/MicrosoftLoginPage.java b/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/pages/social/MicrosoftLoginPage.java index f9e507cae7..bb6f4ea96f 100644 --- a/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/pages/social/MicrosoftLoginPage.java +++ b/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/pages/social/MicrosoftLoginPage.java @@ -35,6 +35,7 @@ public class MicrosoftLoginPage extends AbstractSocialLoginPage { @Override public void login(String user, String password) { + usernameInput.clear(); usernameInput.sendKeys(user); submitButton.click(); passwordInput.sendKeys(password); diff --git a/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/pages/social/StackOverflowLoginPage.java b/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/pages/social/StackOverflowLoginPage.java index 8302f01461..ca61109c73 100644 --- a/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/pages/social/StackOverflowLoginPage.java +++ b/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/pages/social/StackOverflowLoginPage.java @@ -48,6 +48,7 @@ public class StackOverflowLoginPage extends AbstractSocialLoginPage { driver.switchTo().frame(loginFrame); + usernameInput.clear(); usernameInput.sendKeys(user); passwordInput.sendKeys(password); diff --git a/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/pages/social/TwitterLoginPage.java b/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/pages/social/TwitterLoginPage.java index 911afcf9b6..9806b277e6 100644 --- a/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/pages/social/TwitterLoginPage.java +++ b/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/pages/social/TwitterLoginPage.java @@ -35,6 +35,7 @@ public class TwitterLoginPage extends AbstractSocialLoginPage { @Override public void login(String user, String password) { + usernameInput.clear(); usernameInput.sendKeys(user); passwordInput.sendKeys(password); loginButton.click();