discourse/spec/system/page_objects/pages
Osama Sayegh 35b748e7f4
FIX: Don't show silence button on staff users and display similar users (#28423)
This commit fixes a bug where the silence button is incorrectly displayed on the admin page of a staff user. It's not actually possible to silence a staff user because the backend correctly prevents it, but the frontend isn't checking if the button should be displayed.

Another small bug that this commit fixes is the similar users list not showing up inside the silence/suspend modals due to also a bug in the frontend.

I've also changed the way similar users are loaded so that they're not returned by the `admin/users#show` endpoint anymore and moved them into a new endpoint that the penalize modals (suspend and silence) can call directly to retrieve the list of users. This is done because the similar users list is never shown on the admin user page (`/admin/users/:user_id/:username`); they're only needed when the suspend or silence modals are opened.

Internal topic: t/130014.
2024-08-20 15:27:29 +03:00
..
about.rb FIX: Don't show blank space when there's no banner image (#28366) 2024-08-14 10:34:34 +03:00
activate_account.rb DEV: Convert account activation pages to use Ember (#28206) 2024-08-12 18:02:00 -03:00
admin_about_config_area.rb DEV: Wiring for the admin about config page (#27492) 2024-07-01 05:40:37 +03:00
admin_customize_themes.rb FEATURE: direct link to components for admin sidebar (#26644) 2024-04-17 11:45:59 +10:00
admin_flag_form.rb UX: move admin flag form to form-kit (#28187) 2024-08-05 11:01:25 +10:00
admin_flags.rb DEV: flaky toggle flag spec (#28292) 2024-08-09 09:56:10 +10:00
admin_new_features.rb FEATURE: Always show full page "New Features" to admins (#28383) 2024-08-16 09:12:24 +10:00
admin_objects_theme_setting_editor.rb UX: Improve validation error message when saving theme objects setting (#26455) 2024-04-02 11:55:51 +08:00
admin_site_settings.rb UX: Apply admin interface guidelines to Backups page (#28051) 2024-08-20 09:59:43 +10:00
admin_staff_action_logs.rb DEV: Allow for setting a message with SiteSetting.set_and_log (#27447) 2024-06-13 14:59:49 +10:00
admin_user_fields.rb FEATURE: User fields required for existing users - Part 2 (#27172) 2024-06-25 19:32:18 +08:00
admin_user.rb FIX: Don't show silence button on staff users and display similar users (#28423) 2024-08-20 15:27:29 +03:00
admin_watched_words.rb UX: limit "outputs HTML" watched word option to replacements (#28063) 2024-07-25 16:25:56 -03:00
admin_web_hook_events.rb FEATURE: Add Filter for Webhook Events by Status (#27332) 2024-06-07 10:26:00 -05:00
base.rb DEV: Change sidebar header dropdown to use wait_for_animation (#20627) 2023-03-10 14:54:57 +10:00
category.rb FIX: should not raise error when minimum_required_tags value not defined for category. (#27658) 2024-07-01 07:14:34 +05:30
csv_export_pm.rb DEV: make sure we don't load all data into memory when exporting chat messages (#22276) 2023-07-12 18:52:18 +04:00
discovery.rb DEV: Add system specs for dismiss new on tag routes (#23936) 2023-10-16 10:51:59 +01:00
form_template.rb FIX: Customize form template view modal footer buttons (#25804) 2024-02-21 22:20:56 -08:00
group_activity_posts.rb FIX: respect creation date when paginating group activity posts (#24993) 2024-01-11 13:37:27 -03:00
group.rb FIX: deleting a groups was throwing an error (#26623) 2024-04-15 08:35:50 +02:00
header.rb FIX: In topic search for glimmer header (#26040) 2024-03-07 11:14:43 -07:00
invite_form.rb DEV: Convert account activation pages to use Ember (#28206) 2024-08-12 18:02:00 -03:00
review.rb DEV: upgrade reject reason reviewable modal to glimmer component (#24073) 2023-10-24 17:44:43 +08:00
search.rb DEV: adds logo page component (#28276) 2024-08-08 13:52:48 +02:00
tag.rb DEV: fix tag synonyms flakey specs (#21787) 2023-05-28 15:35:55 +02:00
topic.rb FEATURE: admin can disable flags (#27171) 2024-05-29 14:39:58 +10:00
user_notifications.rb DEV: Plugin-api methods for user-notifications route customizations (#24873) 2023-12-13 15:15:42 -06:00
user_preferences_account.rb DEV: upgrade avatar-selector modal to glimmer component (#24192) 2023-11-07 21:02:19 +08:00
user_preferences_interface.rb DEV: Fix flaky user preferences interface system test (#21800) 2023-05-29 11:56:21 +08:00
user_preferences_navigation_menu.rb FEATURE: Split navigation preference for count and behavior of sidebar links (#22203) 2023-06-22 19:04:13 +03:00
user_preferences_profile.rb FIX: show cooked bio in user profile (#27734) 2024-07-05 12:31:57 +02:00
user_preferences_security.rb DEV: Standardize session confirmation prompt (#24212) 2023-11-07 11:26:10 -05:00
user_preferences.rb DEV: Fix flaky "Changing email" system tests (#25805) 2024-02-22 10:46:37 +08:00
user_private_messages.rb FIX: Broken group messages inboxes when group name is mixed case (#22183) 2023-06-19 17:36:04 +08:00
user_reset_password.rb FIX: User can't reset password with backup codes when only security key is enabled (#27368) 2024-06-06 14:30:42 +08:00
user.rb DEV: Plugin-api methods for user-notifications route customizations (#24873) 2023-12-13 15:15:42 -06:00
wizard.rb DEV: Update member access wizard step to use toggle group (#28013) 2024-07-29 14:07:06 +08:00