UX: Update email and security sidebar link copy (#30563)

* UX: Update email and security sidebar link copy

Followup b3fa335c7db3b92530625cbe37db32427f567ebc

Changes these sidebar links to better reflect
what these pages contain:

* (Email) Server setup → Server setup & logs
* (Security) Staff action logs → Logs & screening

* DEV: Test fix
This commit is contained in:
Martin Brennan
2025-01-07 09:59:31 +10:00
committed by GitHub
parent 3b6649670b
commit 9c7b0ddb2f
2 changed files with 9 additions and 4 deletions

View File

@ -127,7 +127,12 @@ describe "Admin | Sidebar Navigation", type: :system do
# When match section title, display all links
filter.filter("Email Sett")
links = page.all(".sidebar-section-link-content-text")
expect(links.map(&:text)).to eq(["Server setup", "Appearance"])
expect(links.map(&:text)).to eq(
[
I18n.t("admin_js.admin.email_settings.sidebar_link.server_setup.title"),
I18n.t("admin_js.admin.email_settings.sidebar_link.appearance"),
],
)
end
it "escapes the filtered expression for regex expressions" do