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 cf1b796be5..9a32d09fea 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 @@ -31,7 +31,7 @@ public class LinkedInLoginPage extends AbstractSocialLoginPage { @FindBy(id = "password") private WebElement passwordInput; - @FindBy(xpath = "//button[text() = 'Sign in']") + @FindBy(xpath = "//button[(@type='submit') and (@aria-label='Sign in')]") private WebElement loginButton; @FindBy(name = "action")