Unignored test
This commit is contained in:
parent
2c460c3adc
commit
b413bcb41d
1 changed files with 2 additions and 9 deletions
|
@ -19,7 +19,6 @@ package org.keycloak.testsuite.console.authentication;
|
|||
|
||||
import org.jboss.arquillian.graphene.page.Page;
|
||||
import org.junit.Before;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.keycloak.representations.idm.RealmRepresentation;
|
||||
import org.keycloak.testsuite.console.AbstractConsoleTest;
|
||||
|
@ -33,7 +32,7 @@ import static org.keycloak.testsuite.console.page.authentication.PasswordPolicy.
|
|||
* @author Petr Mensik
|
||||
* @author mhajas
|
||||
*/
|
||||
@Ignore // FIXME still unstable
|
||||
//@Ignore // FIXME still unstable
|
||||
public class PasswordPolicyTest extends AbstractConsoleTest {
|
||||
|
||||
@Page
|
||||
|
@ -62,7 +61,7 @@ public class PasswordPolicyTest extends AbstractConsoleTest {
|
|||
assertFlashMessageDanger();
|
||||
passwordPolicyPage.removePolicy(HASH_ITERATIONS);
|
||||
|
||||
passwordPolicyPage.addPolicy(REGEX_PATTERN, "^[A-Z]{8,5}");
|
||||
passwordPolicyPage.addPolicy(REGEX_PATTERN, "([");
|
||||
assertFlashMessageDanger();
|
||||
}
|
||||
|
||||
|
@ -158,12 +157,6 @@ public class PasswordPolicyTest extends AbstractConsoleTest {
|
|||
System.out.println(realm.getPasswordPolicy());
|
||||
testRealmResource().update(realm);
|
||||
|
||||
/* try {
|
||||
Thread.sleep(45000000);
|
||||
} catch (InterruptedException e) {
|
||||
e.printStackTrace();
|
||||
}*/
|
||||
|
||||
testUserCredentialsPage.navigateTo();
|
||||
testUserCredentialsPage.resetPassword("invalidPassword");
|
||||
assertFlashMessageDanger();
|
||||
|
|
Loading…
Reference in a new issue