diff --git a/app/assets/javascripts/admin/addon/components/modal/reseed.hbs b/app/assets/javascripts/admin/addon/components/modal/reseed.hbs
index eb746b98ada..46d26972f48 100644
--- a/app/assets/javascripts/admin/addon/components/modal/reseed.hbs
+++ b/app/assets/javascripts/admin/addon/components/modal/reseed.hbs
@@ -19,7 +19,7 @@
@type="checkbox"
@checked={{category.selected}}
/>
- {{category.displayName}}
+ {{category.name}}
{{/each}}
diff --git a/spec/system/admin_site_texts_spec.rb b/spec/system/admin_site_texts_spec.rb
index e78ae5c06f5..d8332718f4f 100644
--- a/spec/system/admin_site_texts_spec.rb
+++ b/spec/system/admin_site_texts_spec.rb
@@ -121,4 +121,11 @@ describe "Admin Site Texts Page", type: :system do
expect(site_texts_page).to have_translation_value("Some overridden value")
expect(TranslationOverride.exists?(translation_key: "js.skip_to_main_content")).to eq(true)
end
+
+ it "properly display category names in replace text modal" do
+ site_texts_page.visit
+ site_texts_page.click_replace_text_button
+
+ expect(page.all(".modal label span").map(&:text)).to eq(["Uncategorized"])
+ end
end
diff --git a/spec/system/page_objects/pages/admin_site_texts.rb b/spec/system/page_objects/pages/admin_site_texts.rb
index 41bce154c9f..3d16833a604 100644
--- a/spec/system/page_objects/pages/admin_site_texts.rb
+++ b/spec/system/page_objects/pages/admin_site_texts.rb
@@ -48,6 +48,10 @@ module PageObjects
find(".site-text-value").fill_in(with: value)
find(".save-changes").click
end
+
+ def click_replace_text_button
+ find(".reseed button").click
+ end
end
end
end