mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 15:28:37 +08:00
FEATURE: Add an option to block IPs and emails to bulk user delete (#29993)
This commit adds an option for blocking the IP and email addresses when bulk-deleting users. Internal topic: t/140321/11.
This commit is contained in:
@ -9,6 +9,10 @@ module PageObjects
|
||||
within(modal) { find(".btn.confirm-delete") }
|
||||
end
|
||||
|
||||
def block_ip_and_email_checkbox
|
||||
within(modal) { find("input.block-ip-and-email") }
|
||||
end
|
||||
|
||||
def has_confirm_button_disabled?
|
||||
within(modal) { has_css?(".btn.confirm-delete[disabled]") }
|
||||
end
|
||||
|
Reference in New Issue
Block a user