Fix tests

This commit is contained in:
Stian Thorgersen 2015-07-22 10:51:29 +02:00
parent 1a3bf16729
commit 8cc8f4c49c
2 changed files with 6 additions and 6 deletions

View file

@ -92,7 +92,7 @@ public class Navigation {
}
public void settings() {
openPage(settingsLink, "Settings");
openPage(settingsLink, "Master");
}
public void users() {
@ -112,7 +112,7 @@ public class Navigation {
}
public void tokens() {
openPage(tokensLink, "Settings");
openPage(tokensLink, "Master");
}
public void sessions() {
@ -120,7 +120,7 @@ public class Navigation {
}
public void security() {
openPage(securityLink, "Settings");
openPage(securityLink, "Master");
}
public void events() {
@ -128,11 +128,11 @@ public class Navigation {
}
public void login() {
openPage(loginLink, "Settings");
openPage(loginLink, "Master");
}
public void themes() {
openPage(themesLink, "Settings");
openPage(themesLink, "Master");
}
public void roleMappings(String username) {

View file

@ -46,7 +46,7 @@ public class PasswordPolicyPage extends AbstractPage {
public void removePolicy(PasswordPolicy policy) {
int policyInputLocation = findPolicy(policy);
allRows.get(policyInputLocation).findElements(By.tagName("i")).get(0).click();
allRows.get(policyInputLocation).findElements(By.tagName("button")).get(0).click();
primaryButton.click();
}