mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
puppeteer_test: Add missing await checking compose content.
assert_compose_box_content should always be called with await.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user