bitbake: toaster/tests/browser: Increase the default wait timeout

Rather than hardcoded poll and sleep values, we want an overall long timeout
and to drop all the other 'sleeping' code.

To facilitate this, increase the overall timeout so we can then start to
remove the other values.

(Bitbake rev: 69a479383f9a8cae6600ce51b12b62be3a15ea38)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2024-10-17 23:08:13 +01:00
parent fa2ca6f1f9
commit d67b698be2

View File

@@ -90,7 +90,7 @@ class Wait(WebDriverWait):
Subclass of WebDriverWait with predetermined timeout and poll
frequency. Also deals with a wider variety of exceptions.
"""
_TIMEOUT = 10
_TIMEOUT = 20
_POLL_FREQUENCY = 0.5
def __init__(self, driver, timeout=_TIMEOUT, poll=_POLL_FREQUENCY):