Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

settings_users: Modal title clear assert error message.

yogesh sirsat42ca3a797a5a
diff --git a/frontend_tests/puppeteer_tests/user-deactivation.ts b/frontend_tests/puppeteer_tests/user-deactivation.ts
index 1a44b035954..4d4a2848987 100644
--- a/frontend_tests/puppeteer_tests/user-deactivation.ts
+++ b/frontend_tests/puppeteer_tests/user-deactivation.ts
@@ -24,7 +24,7 @@ async function test_reactivation_confirmation_modal(page: Page, fullname: string
assert.strictEqual(
await common.get_text_from_selector(page, ".dialog_heading"),
"Reactivate " + fullname,
- "Reactivate modal has wrong user.",
+ "Unexpected title for reactivate user modal",
);
assert.strictEqual(
await common.get_text_from_selector(page, "#dialog_widget_modal .dialog_submit_button"),
@@ -45,7 +45,7 @@ async function test_deactivate_user(page: Page): Promise<void> {
assert.strictEqual(
await common.get_text_from_selector(page, ".dialog_heading"),
"Deactivate " + common.fullname.cordelia,
- "Deactivate modal has wrong user.",
+ "Unexpected title for deactivate user modal",
);
assert.strictEqual(
await common.get_text_from_selector(page, "#dialog_widget_modal .dialog_submit_button"),