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:
Osama Sayegh
2024-12-09 14:25:31 +03:00
committed by GitHub
parent 976aca68f6
commit acc180611f
7 changed files with 140 additions and 9 deletions

View File

@ -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