From d5bd0b7293563d38ac1a64c415605e043eb545af Mon Sep 17 00:00:00 2001 From: Corey Goldberg <1113081+cgoldberg@users.noreply.github.com> Date: Sat, 24 May 2025 22:45:56 -0400 Subject: [PATCH] [py] Increase timeout in devtools test --- py/test/selenium/webdriver/common/devtools_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/test/selenium/webdriver/common/devtools_tests.py b/py/test/selenium/webdriver/common/devtools_tests.py index 7d5665d9fe511..8d46f3b2742af 100644 --- a/py/test/selenium/webdriver/common/devtools_tests.py +++ b/py/test/selenium/webdriver/common/devtools_tests.py @@ -32,7 +32,7 @@ def test_check_console_messages(driver, pages, recwarn): connection.on(devtools.runtime.ConsoleAPICalled, console_api_calls.append) driver.execute_script("console.log('I love cheese')") driver.execute_script("console.error('I love bread')") - WebDriverWait(driver, 5).until(lambda _: len(console_api_calls) == 2) + WebDriverWait(driver, 10).until(lambda _: len(console_api_calls) == 2) assert console_api_calls[0].type_ == "log" assert console_api_calls[0].args[0].value == "I love cheese"