diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-10-18 11:42:51 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-10-24 11:24:03 +0100 |
commit | 4d9ad3bb8efbdab1cda677a870bac63012bf034c (patch) | |
tree | 7bc1fd77221fcd12f3ee2b62758aaa3515e7dd34 /bitbake/lib/toaster/tests/browser/selenium_helpers_base.py | |
parent | d230085ed9260d5968b680d7cf91a0c1c06043ed (diff) | |
download | poky-4d9ad3bb8efbdab1cda677a870bac63012bf034c.tar.gz |
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/tests/browser/selenium_helpers_base.py')
-rw-r--r-- | bitbake/lib/toaster/tests/browser/selenium_helpers_base.py | 1 |
1 files changed, 0 insertions, 1 deletions
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): | |||
225 | is_visible = lambda driver: self.find(selector).is_displayed() | 225 | is_visible = lambda driver: self.find(selector).is_displayed() |
226 | msg = 'An element matching "%s" should be visible' % selector | 226 | msg = 'An element matching "%s" should be visible' % selector |
227 | Wait(self.driver, poll=poll).until(is_visible, msg) | 227 | Wait(self.driver, poll=poll).until(is_visible, msg) |
228 | time.sleep(poll) # wait for visibility to settle | ||
229 | return self.find(selector) | 228 | return self.find(selector) |
230 | 229 | ||
231 | def wait_until_clickable(self, selector, poll=1): | 230 | def wait_until_clickable(self, selector, poll=1): |