mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-06-10 11:00:22 +00:00
functional-tests: Remove unnecessary wait when navigating to module
The fixture splinter_browser_load_condition already waits until a page is loaded. Signed-off-by: Veiko Aasa <veiko17@disroot.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
4c742d690e
commit
29813696c6
@ -269,8 +269,7 @@ def nav_to_module(browser, module):
|
||||
sys_or_apps = 'sys' if module in _sys_modules else 'apps'
|
||||
required_url = base_url + f'/plinth/{sys_or_apps}/{module}/'
|
||||
if browser.url != required_url:
|
||||
with wait_for_page_update(browser, expected_url=required_url):
|
||||
browser.visit(required_url)
|
||||
browser.visit(required_url)
|
||||
|
||||
|
||||
def app_select_domain_name(browser, app_name, domain_name):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user