Clean code

This commit is contained in:
mhajas 2015-10-16 12:09:35 +02:00
parent 41a51d924b
commit 39f985e04a
2 changed files with 2 additions and 3 deletions

View file

@ -34,8 +34,6 @@ public class PasswordPolicy extends Authentication {
public void addPolicy(PasswordPolicy.Type policy, String value) {
waitGuiForElement(addPolicySelectElement);
addPolicySelect.selectByVisibleText(policy.getName());
//addPolicySelect.selectByValue(policy.getName());
setPolicyValue(policy, value);
primaryButton.click();
}

View file

@ -23,9 +23,10 @@ import static org.keycloak.representations.idm.CredentialRepresentation.PASSWORD
public class LoginEventsTest extends AbstractConsoleTest {
@Page
private LoginEvents loginEventsPage;
@Page
private Config configPage;
@Before
public void beforeLoginEventsTest() {
RealmRepresentation realm = testRealmResource().toRepresentation();