keycloak-scim/js/apps/admin-ui/cypress/e2e
danielFesenmeyer d543ba5b56 Consistent message resolving regarding language fallbacks for all themes
- the prio of messages is now as follows for all themes (RL = realm localization, T = Theme i18n files): RL <variant> > T <variant> > RL <region> > T <region> > RL <language> > T <language> > RL en > T en
- centralize the message resolving logic in helper methods in LocaleUtil and use it for all themes, add unit tests in LocaleUtilTest
- add basic integration tests to check whether realm localization can be used in all supported contexts:
  - Account UI V2: org.keycloak.testsuite.ui.account2.InternationalizationTest
  - Login theme: LoginPageTest
  - Email theme: EmailTest
- deprecate the param useRealmDefaultLocaleFallback=true of endpoint /admin/realms/{realm}/localization/{locale}, because it does not resolve fallbacks as expected and is no longer used in admin-ui v2
- fix locale selection in DefaultLocaleSelectorProvider that a supported region (like "de-CH") will no longer selected instead of a supported language (like "de"), when just the language is requested, add corresponding unit tests
- improvements regarding message resolving in Admin UI V2:
  - add cypress test i18n_test.spec.ts, which checks the fallback implementation
  - log a warning instead of an error, when messages for some languages/namespaces cannot be loaded (the page will probably work with fallbacks in that case)

Closes #15845
2023-05-17 15:00:32 +02:00
..
authentication_policies.spec.ts Add more a11y tests (#19379) 2023-03-30 10:44:36 +02:00
authentication_policies_ciba.spec.ts Add more a11y tests (#19379) 2023-03-30 10:44:36 +02:00
authentication_test.spec.ts Add more a11y tests (#19379) 2023-03-30 10:44:36 +02:00
client_authorization_test.spec.ts Add cypress-axe and checks for accessibility issues (#19086) 2023-03-22 17:14:53 +01:00
client_registration_policies.spec.ts Add cypress-axe and checks for accessibility issues (#19086) 2023-03-22 17:14:53 +01:00
client_scopes_test.spec.ts Add cypress-axe and checks for accessibility issues (#19086) 2023-03-22 17:14:53 +01:00
clients_saml_test.spec.ts Add more a11y tests (#19379) 2023-03-30 10:44:36 +02:00
clients_test.spec.ts Fix problems with key value input and empty entries (#19421) 2023-04-04 10:09:31 +02:00
events_test.spec.ts Ensure user details form state remains in sync (#19696) 2023-04-13 15:55:50 +02:00
group_test.spec.ts Ensure user details form state remains in sync (#19696) 2023-04-13 15:55:50 +02:00
i18n_test.spec.ts Consistent message resolving regarding language fallbacks for all themes 2023-05-17 15:00:32 +02:00
identity_providers_oidc_test.spec.ts Rework project structure so it matches the main repo 2023-03-07 11:55:19 +01:00
identity_providers_saml_test.spec.ts Rework project structure so it matches the main repo 2023-03-07 11:55:19 +01:00
identity_providers_test.spec.ts Add cypress-axe and checks for accessibility issues (#19086) 2023-03-22 17:14:53 +01:00
masthead_test.spec.ts Add cypress-axe and checks for accessibility issues (#19086) 2023-03-22 17:14:53 +01:00
partial_export_test.spec.ts Rework project structure so it matches the main repo 2023-03-07 11:55:19 +01:00
partial_import_test.spec.ts Rework project structure so it matches the main repo 2023-03-07 11:55:19 +01:00
realm_roles_test.spec.ts Fix problems with key value input and empty entries (#19421) 2023-04-04 10:09:31 +02:00
realm_settings_client_policies_test.spec.ts Rework project structure so it matches the main repo 2023-03-07 11:55:19 +01:00
realm_settings_client_profiles_test.spec.ts Rework project structure so it matches the main repo 2023-03-07 11:55:19 +01:00
realm_settings_events_test.spec.ts added default value back when not new (#20235) 2023-05-17 10:05:44 +02:00
realm_settings_general_tab_test.spec.ts Rework project structure so it matches the main repo 2023-03-07 11:55:19 +01:00
realm_settings_tabs_test.spec.ts Add more a11y tests (#19379) 2023-03-30 10:44:36 +02:00
realm_settings_user_profile_tab.spec.ts Rework project structure so it matches the main repo 2023-03-07 11:55:19 +01:00
realm_test.spec.ts Rework project structure so it matches the main repo 2023-03-07 11:55:19 +01:00
realm_user_registration.spec.ts Rework project structure so it matches the main repo 2023-03-07 11:55:19 +01:00
sessions_test.spec.ts Add more a11y tests (#19379) 2023-03-30 10:44:36 +02:00
user_fed_kerberos_test.spec.ts Rework project structure so it matches the main repo 2023-03-07 11:55:19 +01:00
user_fed_ldap_hardcoded_mapper_test.spec.ts Rework project structure so it matches the main repo 2023-03-07 11:55:19 +01:00
user_fed_ldap_mapper_test.spec.ts Rework project structure so it matches the main repo 2023-03-07 11:55:19 +01:00
user_fed_ldap_test.spec.ts Rework project structure so it matches the main repo 2023-03-07 11:55:19 +01:00
user_fed_test.spec.ts Add more a11y tests (#19379) 2023-03-30 10:44:36 +02:00
users_enable_disable.spec.ts Ensure user details form state remains in sync (#19696) 2023-04-13 15:55:50 +02:00
users_test.spec.ts Add more a11y tests (#19379) 2023-03-30 10:44:36 +02:00