From b413bcb41dfa3d83c8dacc7d11e7702e2fee936f Mon Sep 17 00:00:00 2001 From: mhajas Date: Thu, 15 Oct 2015 14:57:58 +0200 Subject: [PATCH] Unignored test --- .../console/authentication/PasswordPolicyTest.java | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/console/authentication/PasswordPolicyTest.java b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/console/authentication/PasswordPolicyTest.java index aecb315d1e..cbb3dd5a06 100644 --- a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/console/authentication/PasswordPolicyTest.java +++ b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/console/authentication/PasswordPolicyTest.java @@ -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();