diff --git a/testsuite/integration-arquillian/tests/other/console/src/main/java/org/keycloak/testsuite/console/page/clients/settings/ClientSettingsForm.java b/testsuite/integration-arquillian/tests/other/console/src/main/java/org/keycloak/testsuite/console/page/clients/settings/ClientSettingsForm.java index 17c98df157..4b00a4e552 100644 --- a/testsuite/integration-arquillian/tests/other/console/src/main/java/org/keycloak/testsuite/console/page/clients/settings/ClientSettingsForm.java +++ b/testsuite/integration-arquillian/tests/other/console/src/main/java/org/keycloak/testsuite/console/page/clients/settings/ClientSettingsForm.java @@ -51,20 +51,20 @@ public class ClientSettingsForm extends CreateClientForm { @FindBy(id = "newRedirectUri") private WebElement newRedirectUriInput; - @FindBy(xpath = ".//i[contains(@data-ng-click, 'newRedirectUri') and @class='fa fa-plus']") + @FindBy(xpath = ".//button[contains(@data-ng-click,'addRedirectUri')]") private WebElement newRedirectUriSubmit; @FindBy(xpath = ".//input[@ng-model='client.redirectUris[i]']") private List redirectUriInputs; - @FindBy(xpath = ".//i[contains(@data-ng-click, 'deleteRedirectUri') and @class='fa fa-minus']") + @FindBy(xpath = ".//button[contains(@data-ng-click, 'deleteRedirectUri')]") private List deleteRedirectUriIcons; @FindBy(id = "newWebOrigin") private WebElement newWebOriginInput; - @FindBy(xpath = ".//i[contains(@data-ng-click, 'newWebOrigin')]") + @FindBy(xpath = ".//button[contains(@data-ng-click,'addWebOrigin')]") private WebElement newWebOriginSubmit; @FindBy(xpath = ".//input[ng-model='client.webOrigins[i]']") private List webOriginInputs; - @FindBy(xpath = ".//i[contains(@data-ng-click, 'deleteWebOrigin')]") + @FindBy(xpath = ".//button[contains(@data-ng-click, 'deleteWebOrigin')]") private List deleteWebOriginIcons; public enum OidcAccessType {