diff options
| author | Adam Tauber <asciimoo@gmail.com> | 2014-01-29 02:31:30 -0800 |
|---|---|---|
| committer | Adam Tauber <asciimoo@gmail.com> | 2014-01-29 02:31:30 -0800 |
| commit | f341ddd5be92a7539ea84cf2ee956e41ff7a2b78 (patch) | |
| tree | c549f59af9fb977c7518196e8d5be395819fe53b /searx/tests | |
| parent | db825d42267ff8ca64c9dfe4978325b3d9fc7d1b (diff) | |
| parent | 6624dd51f5cd789c69e380c39815da956ea8df58 (diff) | |
Merge pull request #32 from matejc/robottests
add robot tests
Diffstat (limited to 'searx/tests')
| -rw-r--r-- | searx/tests/robot/test_basic.robot | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/searx/tests/robot/test_basic.robot b/searx/tests/robot/test_basic.robot index 9f68d6693..9fff7540b 100644 --- a/searx/tests/robot/test_basic.robot +++ b/searx/tests/robot/test_basic.robot @@ -9,3 +9,39 @@ 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 + +Engines page + Go To http://localhost:11111/engines + Page Should Contain Currently used search engines + Page Should Contain dummy_dummy + Page Should Contain general_dummy + +Preferences page + Click Element link=preferences + Page Should Contain Preferences + Page Should Contain Default categories + +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 |