From f033d5c3c5fbb575d07a28cf4266a2535fd4e6ec Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Sat, 26 Sep 2020 02:48:37 -0700 Subject: [PATCH] puppeteer_tests: Migrate deprecated waitFor call to waitForFunction. Signed-off-by: Anders Kaseorg --- frontend_tests/puppeteer_lib/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend_tests/puppeteer_lib/common.js b/frontend_tests/puppeteer_lib/common.js index 8549921945..17261b4afd 100644 --- a/frontend_tests/puppeteer_lib/common.js +++ b/frontend_tests/puppeteer_lib/common.js @@ -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