mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-06 10:20:43 +00:00
openvpn: tests: functional: Use newer splinter API for finding links
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
parent
68a6427b19
commit
f759275b0e
@ -26,7 +26,7 @@ def openvpn_profile_downloadable(session_browser):
|
||||
@then('openvpn app should not be visible on the front page')
|
||||
def openvpn_app_not_on_front_page(session_browser):
|
||||
session_browser.visit(base_url)
|
||||
links = session_browser.find_link_by_href(shortcut_href)
|
||||
links = session_browser.links.find_by_href(shortcut_href)
|
||||
assert len(links) == 0
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user