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.jboss.arquillian.graphene.page.Page;
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
import org.junit.Ignore;
|
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.keycloak.representations.idm.RealmRepresentation;
|
import org.keycloak.representations.idm.RealmRepresentation;
|
||||||
import org.keycloak.testsuite.console.AbstractConsoleTest;
|
import org.keycloak.testsuite.console.AbstractConsoleTest;
|
||||||
|
@ -33,7 +32,7 @@ import static org.keycloak.testsuite.console.page.authentication.PasswordPolicy.
|
||||||
* @author Petr Mensik
|
* @author Petr Mensik
|
||||||
* @author mhajas
|
* @author mhajas
|
||||||
*/
|
*/
|
||||||
@Ignore // FIXME still unstable
|
//@Ignore // FIXME still unstable
|
||||||
public class PasswordPolicyTest extends AbstractConsoleTest {
|
public class PasswordPolicyTest extends AbstractConsoleTest {
|
||||||
|
|
||||||
@Page
|
@Page
|
||||||
|
@ -62,7 +61,7 @@ public class PasswordPolicyTest extends AbstractConsoleTest {
|
||||||
assertFlashMessageDanger();
|
assertFlashMessageDanger();
|
||||||
passwordPolicyPage.removePolicy(HASH_ITERATIONS);
|
passwordPolicyPage.removePolicy(HASH_ITERATIONS);
|
||||||
|
|
||||||
passwordPolicyPage.addPolicy(REGEX_PATTERN, "^[A-Z]{8,5}");
|
passwordPolicyPage.addPolicy(REGEX_PATTERN, "([");
|
||||||
assertFlashMessageDanger();
|
assertFlashMessageDanger();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -158,12 +157,6 @@ public class PasswordPolicyTest extends AbstractConsoleTest {
|
||||||
System.out.println(realm.getPasswordPolicy());
|
System.out.println(realm.getPasswordPolicy());
|
||||||
testRealmResource().update(realm);
|
testRealmResource().update(realm);
|
||||||
|
|
||||||
/* try {
|
|
||||||
Thread.sleep(45000000);
|
|
||||||
} catch (InterruptedException e) {
|
|
||||||
e.printStackTrace();
|
|
||||||
}*/
|
|
||||||
|
|
||||||
testUserCredentialsPage.navigateTo();
|
testUserCredentialsPage.navigateTo();
|
||||||
testUserCredentialsPage.resetPassword("invalidPassword");
|
testUserCredentialsPage.resetPassword("invalidPassword");
|
||||||
assertFlashMessageDanger();
|
assertFlashMessageDanger();
|
||||||
|
|
Loading…
Reference in a new issue