Merge pull request #3945 from mposolda/master
KEYCLOAK-4572 AccountTest.changeProfileNoAccess unstable
This commit is contained in:
commit
649ca36ece
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.USERNAME, "test-user-no-access@localhost")
|
||||||
.detail(Details.REDIRECT_URI, ACCOUNT_REDIRECT).assertEvent();
|
.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());
|
Assert.assertEquals("No access", errorPage.getError());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue