From aa84709087a22e0a7a223f6c39fcfecc86cbd7cd Mon Sep 17 00:00:00 2001 From: mposolda Date: Mon, 13 Mar 2017 13:58:05 +0100 Subject: [PATCH] KEYCLOAK-4572 AccountTest.changeProfileNoAccess unstable --- .../test/java/org/keycloak/testsuite/account/AccountTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/account/AccountTest.java b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/account/AccountTest.java index 75794ebc4b..dcc4246733 100755 --- a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/account/AccountTest.java +++ b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/account/AccountTest.java @@ -777,7 +777,7 @@ public class AccountTest extends AbstractTestRealmKeycloakTest { .detail(Details.USERNAME, "test-user-no-access@localhost") .detail(Details.REDIRECT_URI, ACCOUNT_REDIRECT).assertEvent(); - Assert.assertTrue(errorPage.isCurrent()); + Assert.assertTrue("Expected errorPage but was " + driver.getTitle() + " (" + driver.getCurrentUrl() + "). Page source: " + driver.getPageSource(), errorPage.isCurrent()); Assert.assertEquals("No access", errorPage.getError()); }