Clean code
This commit is contained in:
parent
41a51d924b
commit
39f985e04a
2 changed files with 2 additions and 3 deletions
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -23,6 +23,7 @@ import static org.keycloak.representations.idm.CredentialRepresentation.PASSWORD
|
|||
public class LoginEventsTest extends AbstractConsoleTest {
|
||||
@Page
|
||||
private LoginEvents loginEventsPage;
|
||||
|
||||
@Page
|
||||
private Config configPage;
|
||||
|
||||
|
|
Loading…
Reference in a new issue