searx: Convert functional tests to non-BDD python format

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
James Valleroy authored and Sunil Mohan Adapa committed 2021-10-05 15:22:16 -07:00
1 parent 60236376c2
commit 6aecad7259
3 files changed
+65 -67

No files matched your search

+5
View File
@@ -419,6 +419,11 @@ def find_on_front_page(browser, app_name):
return shortcuts
def is_visible_on_front_page(browser, app_name):
shortcuts = find_on_front_page(browser, app_name)
return len(shortcuts) == 1
####################
# Daemon utilities #
####################