diff --git a/src/central-server/admin-service/ui-system-test/src/intTest/java/org/niis/xroad/cs/test/ui/page/MemberPageObj.java b/src/central-server/admin-service/ui-system-test/src/intTest/java/org/niis/xroad/cs/test/ui/page/MemberPageObj.java index 7d6f7b9383..9c26096b6b 100644 --- a/src/central-server/admin-service/ui-system-test/src/intTest/java/org/niis/xroad/cs/test/ui/page/MemberPageObj.java +++ b/src/central-server/admin-service/ui-system-test/src/intTest/java/org/niis/xroad/cs/test/ui/page/MemberPageObj.java @@ -49,7 +49,7 @@ public SelenideElement searchInput() { } public SelenideElement listRowOf(String memberName) { - var xpath = "//div[@data-test='members-table']//table//tbody//tr//td//div[contains(text(), '%s')]"; + var xpath = "//div[@data-test='members-table']//table/tbody/tr/td//div[contains(text(), '%s')]"; return $x(String.format(xpath, memberName)); } diff --git a/src/central-server/admin-service/ui/.env b/src/central-server/admin-service/ui/.env index 2afa77cccc..cba7a25a04 100644 --- a/src/central-server/admin-service/ui/.env +++ b/src/central-server/admin-service/ui/.env @@ -4,3 +4,5 @@ VITE_AUTH_URL=https://localhost:8080 VITE_I18N_LOCALE=en VITE_I18N_FALLBACK_LOCALE=en +VITE_I18N_STOP_USER_LOCALE=false +VITE_WARN_MISSING_TRANSLATION=true diff --git a/src/central-server/admin-service/ui/.env.production b/src/central-server/admin-service/ui/.env.production index db4506a0bd..5cc967e739 100644 --- a/src/central-server/admin-service/ui/.env.production +++ b/src/central-server/admin-service/ui/.env.production @@ -4,3 +4,4 @@ VITE_AUTH_URL=/ VITE_I18N_LOCALE=en VITE_I18N_FALLBACK_LOCALE=en +VITE_WARN_MISSING_TRANSLATION=false diff --git a/src/central-server/admin-service/ui/src/components/layout/LanguageDropdown.vue b/src/central-server/admin-service/ui/src/components/layout/LanguageDropdown.vue index 0130d24694..b5010c428a 100644 --- a/src/central-server/admin-service/ui/src/components/layout/LanguageDropdown.vue +++ b/src/central-server/admin-service/ui/src/components/layout/LanguageDropdown.vue @@ -25,7 +25,7 @@ THE SOFTWARE. -->