test_basic.robot 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. Engines page
  14. Go To http://localhost:11111/engines
  15. Page Should Contain Currently used search engines
  16. Page Should Contain dummy_dummy
  17. Page Should Contain general_dummy
  18. Preferences page
  19. Click Element link=preferences
  20. Page Should Contain Preferences
  21. Page Should Contain Default categories
  22. Switch category
  23. Go To http://localhost:11111/preferences
  24. Page Should Contain Checkbox category_general
  25. Page Should Contain Checkbox category_dummy
  26. Click Element xpath=//*[.="general"]
  27. Click Element xpath=//*[.="dummy"]
  28. Submit Form id=search_form
  29. Location Should Be http://localhost:11111/
  30. Checkbox Should Not Be Selected category_general
  31. Checkbox Should Be Selected category_dummy
  32. Change language
  33. Page Should Contain about
  34. Page Should Contain preferences
  35. Go To http://localhost:11111/preferences
  36. Select From List locale hu
  37. Submit Form id=search_form
  38. Location Should Be http://localhost:11111/
  39. Page Should Contain rólunk
  40. Page Should Contain beállítások