From 39f985e04ac21b66a298db544ed8189f483f5f43 Mon Sep 17 00:00:00 2001 From: mhajas Date: Fri, 16 Oct 2015 12:09:35 +0200 Subject: [PATCH] Clean code --- .../testsuite/console/page/authentication/PasswordPolicy.java | 2 -- .../org/keycloak/testsuite/console/events/LoginEventsTest.java | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/console/page/authentication/PasswordPolicy.java b/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/console/page/authentication/PasswordPolicy.java index 5eb8f1b10f..818ff5d608 100644 --- a/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/console/page/authentication/PasswordPolicy.java +++ b/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/console/page/authentication/PasswordPolicy.java @@ -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(); } diff --git a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/console/events/LoginEventsTest.java b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/console/events/LoginEventsTest.java index bb0ac8d06c..3b32274fb9 100644 --- a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/console/events/LoginEventsTest.java +++ b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/console/events/LoginEventsTest.java @@ -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();