Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
puppeteer: Wait till visible: true in check_messages_sent.
Dinesh653a577abb40
diff --git a/frontend_tests/puppeteer_lib/common.js b/frontend_tests/puppeteer_lib/common.jsindex f9fff240a75..7ed2f5c351a 100644--- a/frontend_tests/puppeteer_lib/common.js+++ b/frontend_tests/puppeteer_lib/common.js@@ -390,7 +390,7 @@ class CommonUtils {// The method will only check that all the messages in the// messages array passed exist in the order they are passed.async check_messages_sent(page, table, messages) {- await page.waitForSelector("#" + table);+ await page.waitForSelector("#" + table, {visible: true});const rendered_messages = await this.get_rendered_messages(page, table);// We only check the last n messages because if we run