Add it to admin console language options and fix test
This commit is contained in:
parent
c071601660
commit
d52a365766
3 changed files with 3 additions and 3 deletions
|
@ -395,7 +395,7 @@ module.controller('RealmThemeCtrl', function($scope, Current, Realm, realm, serv
|
|||
$scope.supportedLocalesOptions = {
|
||||
'multiple' : true,
|
||||
'simple_tags' : true,
|
||||
'tags' : ['en', 'de', 'pt-BR']
|
||||
'tags' : ['en', 'de', 'pt-BR', 'it']
|
||||
};
|
||||
|
||||
$scope.$watch('realm.supportedLocales', function(oldVal, newVal) {
|
||||
|
|
|
@ -77,7 +77,7 @@ public class AccountPageTest {
|
|||
accountUpdateProfilePage.openLanguage("German");
|
||||
Assert.assertEquals("Deutsch", accountUpdateProfilePage.getLanguageDropdownText());
|
||||
|
||||
accountUpdateProfilePage.openLanguage("Englisch");
|
||||
accountUpdateProfilePage.openLanguage("English");
|
||||
Assert.assertEquals("English", accountUpdateProfilePage.getLanguageDropdownText());
|
||||
accountUpdateProfilePage.logout();
|
||||
}
|
||||
|
|
|
@ -75,7 +75,7 @@ public class LoginPageTest {
|
|||
loginPage.openLanguage("German");
|
||||
Assert.assertEquals("Deutsch", loginPage.getLanguageDropdownText());
|
||||
|
||||
loginPage.openLanguage("Englisch");
|
||||
loginPage.openLanguage("English");
|
||||
Assert.assertEquals("English", loginPage.getLanguageDropdownText());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue