mirror of
https://github.com/searxng/searxng.git
synced 2025-07-23 05:09:17 +02:00
add robot tests
This commit is contained in:
parent
db825d4226
commit
6624dd51f5
4 changed files with 67 additions and 103 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue