summaryrefslogtreecommitdiff
path: root/searx/tests/robot
diff options
context:
space:
mode:
Diffstat (limited to 'searx/tests/robot')
-rw-r--r--searx/tests/robot/__init__.py0
-rw-r--r--searx/tests/robot/test_basic.robot44
2 files changed, 0 insertions, 44 deletions
diff --git a/searx/tests/robot/__init__.py b/searx/tests/robot/__init__.py
deleted file mode 100644
index e69de29bb..000000000
--- a/searx/tests/robot/__init__.py
+++ /dev/null
diff --git a/searx/tests/robot/test_basic.robot b/searx/tests/robot/test_basic.robot
deleted file mode 100644
index 1b8e78fff..000000000
--- a/searx/tests/robot/test_basic.robot
+++ /dev/null
@@ -1,44 +0,0 @@
-*** Settings ***
-Library Selenium2Library timeout=10 implicit_wait=0.5
-Test Setup Open Browser http://localhost:11111/
-Test Teardown Close All Browsers
-
-
-*** Test Cases ***
-Front page
- Page Should Contain about
- Page Should Contain preferences
-
-About page
- Click Element link=about
- Page Should Contain Why use Searx?
- Page Should Contain Element link=search engines
-
-Preferences page
- Click Element link=preferences
- Page Should Contain Preferences
- Page Should Contain Default categories
- Page Should Contain Currently used search engines
- Page Should Contain dummy_dummy
- Page Should Contain general_dummy
-
-Switch category
- Go To http://localhost:11111/preferences
- Page Should Contain Checkbox category_general
- Page Should Contain Checkbox category_dummy
- Click Element xpath=//*[.="general"]
- Click Element xpath=//*[.="dummy"]
- Submit Form id=search_form
- Location Should Be http://localhost:11111/
- Checkbox Should Not Be Selected category_general
- Checkbox Should Be Selected category_dummy
-
-Change language
- Page Should Contain about
- Page Should Contain preferences
- Go To http://localhost:11111/preferences
- Select From List locale hu
- Submit Form id=search_form
- Location Should Be http://localhost:11111/
- Page Should Contain rólunk
- Page Should Contain beállítások