diff --git a/frontend_tests/puppeteer_lib/common.ts b/frontend_tests/puppeteer_lib/common.ts index 6ea3f17299..d29a5e9dd5 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);