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.

puppeteer_tests: Fix invalid/incorrect selector for `waitFor`.

Riken Shah3a386fcf4494
diff --git a/frontend_tests/puppeteer_tests/07-navigation.ts b/frontend_tests/puppeteer_tests/07-navigation.ts
index 4f2cd8c7d47..7f782b03af3 100644
--- a/frontend_tests/puppeteer_tests/07-navigation.ts
+++ b/frontend_tests/puppeteer_tests/07-navigation.ts
@@ -52,7 +52,7 @@ async function navigate_to_subscriptions(page: Page): Promise<void> {
await page.click("#subscription_overlay .exit");
// Wait until the overlay is completely closed.
- await page.waitForSelector("#settings_overlay_container", {hidden: true});
+ await page.waitForSelector("#subscription_overlay", {hidden: true});
}
async function test_reload_hash(page: Page): Promise<void> {