mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 21:55:25 +08:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user