test_basic.robot 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. *** Settings ***
  2. Library Selenium2Library timeout=10 implicit_wait=0.5
  3. Test Setup Open Browser http://localhost:11111/
  4. Test Teardown Close All Browsers
  5. *** Test Cases ***
  6. Front page
  7. Page Should Contain about
  8. Page Should Contain preferences
  9. About page
  10. Click Element link=about
  11. Page Should Contain Why use Searx?
  12. Page Should Contain Element link=search engines
  13. Preferences page
  14. Click Element link=preferences
  15. Page Should Contain Preferences
  16. Page Should Contain Default categories
  17. Page Should Contain Currently used search engines
  18. Page Should Contain dummy_dummy
  19. Page Should Contain general_dummy
  20. Switch category
  21. Go To http://localhost:11111/preferences
  22. Page Should Contain Checkbox category_general
  23. Page Should Contain Checkbox category_dummy
  24. Click Element xpath=//*[.="general"]
  25. Click Element xpath=//*[.="dummy"]
  26. Submit Form id=search_form
  27. Location Should Be http://localhost:11111/
  28. Checkbox Should Not Be Selected category_general
  29. Checkbox Should Be Selected category_dummy
  30. Change language
  31. Page Should Contain about
  32. Page Should Contain preferences
  33. Go To http://localhost:11111/preferences
  34. Select From List locale hu
  35. Submit Form id=search_form
  36. Location Should Be http://localhost:11111/
  37. Page Should Contain rólunk
  38. Page Should Contain beállítások