A platform for community discussion. Free, open, simple.
DEV: Fix welcome banner locale spec (#33667)
Martin Brennandeced1909baf
diff --git a/spec/system/welcome_banner_spec.rb b/spec/system/welcome_banner_spec.rbindex 641ccb6d6e1..138a6f8ec5c 100644--- a/spec/system/welcome_banner_spec.rb+++ b/spec/system/welcome_banner_spec.rb@@ -50,9 +50,12 @@ describe "Welcome banner", type: :system docontext "with empty subheader translations (default)" docontext "with `non-en` default locale and `en` interface locale" do- before { SiteSetting.default_locale = "uk" }+ before do+ SiteSetting.default_locale = "uk"+ SiteSetting.allow_user_locale = true+ end- xit "hides subheader if active locale key is missing and fallback `en` translation is an empty string" do+ it "hides subheader if active locale key is missing and fallback `en` translation is an empty string" doTranslationOverride.upsert!("uk","js.welcome_banner.subheader.logged_in_members",