KEYCLOAK-4572 AccountTest.changeProfileNoAccess unstable
This commit is contained in:
parent
adf3eaf8fe
commit
aa84709087
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue