From e4fa5c034aa0e52be62168b0a717d34a8b0c9104 Mon Sep 17 00:00:00 2001 From: Tomas Ondrusko <67582554+tondrusk@users.noreply.github.com> Date: Mon, 8 Jan 2024 11:32:45 +0100 Subject: [PATCH] Update web element of the LinkedIn login page (#25905) Signed-off-by: Tomas Ondrusko --- .../org/keycloak/testsuite/pages/social/LinkedInLoginPage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")