mirror of https://github.com/zulip/zulip.git
puppeteer_tests: Migrate deprecated waitFor call to waitForFunction.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
e4931c5bc4
commit
f033d5c3c5
|
@ -240,7 +240,7 @@ class CommonUtils {
|
|||
}
|
||||
|
||||
async wait_for_fully_processed_message(page, content) {
|
||||
await page.waitFor(
|
||||
await page.waitForFunction(
|
||||
(content) => {
|
||||
/*
|
||||
The tricky part about making sure that
|
||||
|
|
Loading…
Reference in New Issue