From 4d9ad3bb8efbdab1cda677a870bac63012bf034c Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 18 Oct 2024 11:42:51 +0100 Subject: bitbake: toaster/tests/functional/helpers: Drop unneeded poll values and sleep Drop the remaining poll values and the sleep within the main wait function as the races this was working around now seem to be resolved with the preceeding patches. (Bitbake rev: 91e54cbacc57316a4f2ca766afac81e7f3a54718) Signed-off-by: Richard Purdie --- bitbake/lib/toaster/tests/browser/selenium_helpers_base.py | 1 - 1 file changed, 1 deletion(-) (limited to 'bitbake/lib/toaster/tests/browser/selenium_helpers_base.py') diff --git a/bitbake/lib/toaster/tests/browser/selenium_helpers_base.py b/bitbake/lib/toaster/tests/browser/selenium_helpers_base.py index b060133b1d..5a4a4ef8b4 100644 --- a/bitbake/lib/toaster/tests/browser/selenium_helpers_base.py +++ b/bitbake/lib/toaster/tests/browser/selenium_helpers_base.py @@ -225,7 +225,6 @@ class SeleniumTestCaseBase(unittest.TestCase): is_visible = lambda driver: self.find(selector).is_displayed() msg = 'An element matching "%s" should be visible' % selector Wait(self.driver, poll=poll).until(is_visible, msg) - time.sleep(poll) # wait for visibility to settle return self.find(selector) def wait_until_clickable(self, selector, poll=1): -- cgit v1.2.3-54-g00ecf