Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
tests: Fix admin.test.ts puppeteer test case failing.
Sayam Samale1acec52eb99
diff --git a/web/e2e-tests/admin.test.ts b/web/e2e-tests/admin.test.tsindex 3422e2c94fa..cc153708f57 100644--- a/web/e2e-tests/admin.test.ts+++ b/web/e2e-tests/admin.test.ts@@ -10,11 +10,8 @@ async function submit_announcements_stream_settings(page: Page): Promise<void> {});const save_button = "#org-notifications .save-button";- assert.strictEqual(- await common.get_text_from_selector(page, save_button),- "Save changes",- "Save button has incorrect text.",- );+ const button_text = await common.get_text_from_selector(page, save_button);+ assert.strictEqual(button_text, "Save changes", "Save button has incorrect text.");await page.click(save_button);await page.waitForSelector('#org-notifications .save-button[data-status="saved"]', {