puppeteer_test: Add missing await checking compose content.

assert_compose_box_content should always be called with await.
This commit is contained in:
Riken Shah
2021-03-01 06:15:14 +00:00
committed by Tim Abbott
parent b23cd2b7d4
commit d12257e2c1

View File

@@ -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);