mirror of
https://github.com/zulip/zulip.git
synced 2025-11-18 21:48:30 +00:00
puppeteer_tests: Migrate deprecated waitFor call to waitForFunction.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
e4931c5bc4
commit
f033d5c3c5
@@ -240,7 +240,7 @@ class CommonUtils {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async wait_for_fully_processed_message(page, content) {
|
async wait_for_fully_processed_message(page, content) {
|
||||||
await page.waitFor(
|
await page.waitForFunction(
|
||||||
(content) => {
|
(content) => {
|
||||||
/*
|
/*
|
||||||
The tricky part about making sure that
|
The tricky part about making sure that
|
||||||
|
|||||||
Reference in New Issue
Block a user