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:
Sunil Mohan Adapa authored and Veiko Aasa committed 2021-09-19 07:47:34 +03:00
1 parent 68a6427b19
commit f759275b0e
1 file changed
+1 -1
@@ -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