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_test: Add missing `wait_for_checked` call to avoid rare flake.

Riken Shah456793bec2f5
diff --git a/frontend_tests/puppeteer_tests/subscriptions.ts b/frontend_tests/puppeteer_tests/subscriptions.ts
index fe58e72d54c..93cb190f13b 100644
--- a/frontend_tests/puppeteer_tests/subscriptions.ts
+++ b/frontend_tests/puppeteer_tests/subscriptions.ts
@@ -140,6 +140,7 @@ async function test_user_filter_ui(
// Test check all
await page.click(".subs_set_all_users");
+ await wait_for_checked(page, "othello", true);
await clear_ot_filter_with_backspace(page);
await verify_filtered_users_are_visible_again(page, cordelia_checkbox, othello_checkbox);
await verify_check_all_only_affects_visible_users(page);