mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
settings: Unite user settings into a single panel.
Previously, there were three different sections for managing active users, deactivated users and invitations. This commit combines users section has into a single tabbed panel. Fixes: #26949. Co-authored-by: shashank-23002 <21bec103@iiitdmj.ac.in>
This commit is contained in:
committed by
Tim Abbott
parent
e4c89771fd
commit
8ab6e71593
@@ -15,6 +15,7 @@ async function navigate_to_user_list(page: Page): Promise<void> {
|
||||
|
||||
await page.waitForSelector("#settings_overlay_container.show", {visible: true});
|
||||
await page.click("li[data-section='users']");
|
||||
await page.waitForSelector("#admin-user-list.show", {visible: true});
|
||||
}
|
||||
|
||||
async function user_row(page: Page, name: string): Promise<string> {
|
||||
@@ -80,7 +81,8 @@ async function test_deactivated_users_section(page: Page): Promise<void> {
|
||||
|
||||
// "Deactivated users" section doesn't render just deactivated users until reloaded.
|
||||
await page.reload();
|
||||
const deactivated_users_section = "li[data-section='deactivated-users-admin']";
|
||||
await page.waitForSelector("#admin-user-list.show", {visible: true});
|
||||
const deactivated_users_section = ".tab-container .ind-tab[data-tab-key='deactivated']";
|
||||
await page.waitForSelector(deactivated_users_section, {visible: true});
|
||||
await page.click(deactivated_users_section);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user