mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-19 12:36:06 +00:00
syncthing: tests: functional: Fix to wait properly
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
ad5fae2180
commit
29f971a272
@ -78,6 +78,7 @@ def _load_main_interface(browser):
|
||||
lambda: browser.evaluate_script('document.is_ui_online'), timeout=5)
|
||||
|
||||
# Dismiss the Usage Reporting consent dialog
|
||||
functional.eventually(browser.find_by_id, ['ur'])
|
||||
usage_reporting = browser.find_by_id('ur').first
|
||||
functional.eventually(lambda: usage_reporting.visible, timeout=2)
|
||||
if usage_reporting.visible:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user