Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
puppeteer tests: Avoid stream creation flake.
Steve Howella5ec78c6abe3
diff --git a/frontend_tests/puppeteer_tests/subscriptions.ts b/frontend_tests/puppeteer_tests/subscriptions.tsindex 13bad8a2b0c..4f7bd0ea8e6 100644--- a/frontend_tests/puppeteer_tests/subscriptions.ts+++ b/frontend_tests/puppeteer_tests/subscriptions.ts@@ -81,6 +81,9 @@ async function test_subscription_button(page: Page): Promise<void> {async function click_create_new_stream(page: Page): Promise<void> {await page.click("#add_new_subscription .create_stream_button");+ await page.waitForSelector(".finalize_create_stream", {visible: true});++ // sanity check that desdemona is the initial subsscriberawait await_user_visible(page, "desdemona");}