KEYCLOAK-3892 - Fix profile page assertion.
This commit is contained in:
parent
884f84d5ed
commit
328ab1cc27
1 changed files with 1 additions and 3 deletions
|
@ -109,7 +109,6 @@ public class SSSDTest extends AbstractKeycloakTest {
|
|||
driver.navigate().to(getAccountUrl());
|
||||
Assert.assertEquals("Browser should be on login page now", "Log in to " + REALM_NAME, driver.getTitle());
|
||||
accountLoginPage.login(ADMIN_USERNAME, ADMIN_PASSWORD);
|
||||
|
||||
Assert.assertEquals("Unexpected error when handling authentication request to identity provider.", accountLoginPage.getInstruction());
|
||||
}
|
||||
|
||||
|
@ -120,8 +119,7 @@ public class SSSDTest extends AbstractKeycloakTest {
|
|||
driver.navigate().to(getAccountUrl());
|
||||
Assert.assertEquals("Browser should be on login page now", "Log in to " + REALM_NAME, driver.getTitle());
|
||||
accountLoginPage.login(USERNAME, PASSWORD);
|
||||
Assert.assertEquals("Browser should be on account page now, logged in", "Keycloak Account Management", driver.getTitle());
|
||||
|
||||
Assert.assertTrue(profilePage.isCurrent());
|
||||
testUserGroups();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue