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 `await` checking compose content.

Riken Shahd12257e2c1a7
diff --git a/frontend_tests/puppeteer_lib/common.ts b/frontend_tests/puppeteer_lib/common.ts
index 6ea3f17299b..d29a5e9dd5b 100644
--- a/frontend_tests/puppeteer_lib/common.ts
+++ b/frontend_tests/puppeteer_lib/common.ts
@@ -374,7 +374,7 @@ class CommonUtils {
await page.click("#compose-send-button");
// Sending should clear compose box content.
- this.assert_compose_box_content(page, "");
+ await this.assert_compose_box_content(page, "");
if (!outside_view) {
await this.wait_for_fully_processed_message(page, params.content);