Merge pull request #2662 from vmuzikar/master

KEYCLOAK-2854 Fix Client Settings Console UI test
This commit is contained in:
Stian Thorgersen 2016-04-19 20:32:09 +02:00
commit 7cf77e1bb4

View file

@ -51,20 +51,20 @@ public class ClientSettingsForm extends CreateClientForm {
@FindBy(id = "newRedirectUri") @FindBy(id = "newRedirectUri")
private WebElement newRedirectUriInput; 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; private WebElement newRedirectUriSubmit;
@FindBy(xpath = ".//input[@ng-model='client.redirectUris[i]']") @FindBy(xpath = ".//input[@ng-model='client.redirectUris[i]']")
private List<WebElement> redirectUriInputs; private List<WebElement> redirectUriInputs;
@FindBy(xpath = ".//i[contains(@data-ng-click, 'deleteRedirectUri') and @class='fa fa-minus']") @FindBy(xpath = ".//button[contains(@data-ng-click, 'deleteRedirectUri')]")
private List<WebElement> deleteRedirectUriIcons; private List<WebElement> deleteRedirectUriIcons;
@FindBy(id = "newWebOrigin") @FindBy(id = "newWebOrigin")
private WebElement newWebOriginInput; private WebElement newWebOriginInput;
@FindBy(xpath = ".//i[contains(@data-ng-click, 'newWebOrigin')]") @FindBy(xpath = ".//button[contains(@data-ng-click,'addWebOrigin')]")
private WebElement newWebOriginSubmit; private WebElement newWebOriginSubmit;
@FindBy(xpath = ".//input[ng-model='client.webOrigins[i]']") @FindBy(xpath = ".//input[ng-model='client.webOrigins[i]']")
private List<WebElement> webOriginInputs; private List<WebElement> webOriginInputs;
@FindBy(xpath = ".//i[contains(@data-ng-click, 'deleteWebOrigin')]") @FindBy(xpath = ".//button[contains(@data-ng-click, 'deleteWebOrigin')]")
private List<WebElement> deleteWebOriginIcons; private List<WebElement> deleteWebOriginIcons;
public enum OidcAccessType { public enum OidcAccessType {