KEYCLOAK-5265 Set localization tests to community profile only
This commit is contained in:
parent
83d3dfbc54
commit
7f7c0bac1e
1 changed files with 6 additions and 0 deletions
|
@ -81,6 +81,8 @@ public class LoginPageTest extends AbstractI18NTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void languageDropdown() {
|
public void languageDropdown() {
|
||||||
|
ProfileAssume.assumeCommunity();
|
||||||
|
|
||||||
loginPage.open();
|
loginPage.open();
|
||||||
Assert.assertEquals("English", loginPage.getLanguageDropdownText());
|
Assert.assertEquals("English", loginPage.getLanguageDropdownText());
|
||||||
|
|
||||||
|
@ -143,6 +145,8 @@ public class LoginPageTest extends AbstractI18NTest {
|
||||||
// KEYCLOAK-3887
|
// KEYCLOAK-3887
|
||||||
@Test
|
@Test
|
||||||
public void languageChangeRequiredActions() {
|
public void languageChangeRequiredActions() {
|
||||||
|
ProfileAssume.assumeCommunity();
|
||||||
|
|
||||||
UserResource user = ApiUtil.findUserByUsernameId(testRealm(), "test-user@localhost");
|
UserResource user = ApiUtil.findUserByUsernameId(testRealm(), "test-user@localhost");
|
||||||
UserRepresentation userRep = user.toRepresentation();
|
UserRepresentation userRep = user.toRepresentation();
|
||||||
userRep.setRequiredActions(Arrays.asList(UserModel.RequiredAction.UPDATE_PASSWORD.toString()));
|
userRep.setRequiredActions(Arrays.asList(UserModel.RequiredAction.UPDATE_PASSWORD.toString()));
|
||||||
|
@ -168,6 +172,8 @@ public class LoginPageTest extends AbstractI18NTest {
|
||||||
// KEYCLOAK-3887
|
// KEYCLOAK-3887
|
||||||
@Test
|
@Test
|
||||||
public void languageChangeConsentScreen() {
|
public void languageChangeConsentScreen() {
|
||||||
|
ProfileAssume.assumeCommunity();
|
||||||
|
|
||||||
// Set client, which requires consent
|
// Set client, which requires consent
|
||||||
oauth.clientId("third-party");
|
oauth.clientId("third-party");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue