user-settings: Update icon for reactivating user.

Co-authored-by: Lauryn Menard <lauryn@zulip.com>
This commit is contained in:
ahmedgulabkhan
2025-03-15 20:37:56 +01:00
committed by Tim Abbott
parent 61bda06266
commit 50582b72b6
7 changed files with 24 additions and 10 deletions

View File

@@ -65,7 +65,7 @@ async function test_deactivate_user(page: Page): Promise<void> {
async function test_reactivate_user(page: Page): Promise<void> {
let cordelia_user_row = await user_row(page, common.fullname.cordelia);
await page.waitForSelector(cordelia_user_row + ".deactivated_user");
await page.waitForSelector(cordelia_user_row + " .fa-user-plus");
await page.waitForSelector(cordelia_user_row + " .zulip-icon-user-plus");
await page.click(cordelia_user_row + " .reactivate");
await test_reactivation_confirmation_modal(page, common.fullname.cordelia);
@@ -126,7 +126,7 @@ async function test_bot_deactivation_and_reactivation(page: Page): Promise<void>
await common.wait_for_micromodal_to_close(page);
await page.waitForSelector(default_bot_user_row + ".deactivated_user", {visible: true});
await page.waitForSelector(default_bot_user_row + " .fa-user-plus");
await page.waitForSelector(default_bot_user_row + " .zulip-icon-user-plus");
await page.click(default_bot_user_row + " .reactivate");
await test_reactivation_confirmation_modal(page, "Zulip Default Bot");