mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 10:34:39 +08:00
UX: admins users page follows admin ux guideline (#29873)
Conversion of `/admin/users` page to follow admin UX guidelines. In addition, add the username to the title on the user admin page.
This commit is contained in:

committed by
GitHub

parent
976be2abcd
commit
6d4c6ee154
@ -44,6 +44,11 @@ describe "Admin User Page", type: :system do
|
||||
expect(admin_user_page).to have_silence_button
|
||||
end
|
||||
|
||||
it "displays username in the title" do
|
||||
expect(page).to have_css(".display-row.username")
|
||||
expect(page.title).to eq("#{user.username} - Admin - Discourse")
|
||||
end
|
||||
|
||||
describe "the suspend user modal" do
|
||||
it "displays the list of users who share the same IP but are not mods or admins" do
|
||||
admin_user_page.click_suspend_button
|
||||
|
Reference in New Issue
Block a user