forked from zaclys/searxng
[fix] gecko driver cannot detect the page load finish on preferences form submit. It now works with this dirty workaround..
This commit is contained in:
parent
684ceab1c3
commit
629fa4355a
|
@ -4,6 +4,14 @@ Test Setup Open Browser http://localhost:11111/
|
||||||
Test Teardown Close All Browsers
|
Test Teardown Close All Browsers
|
||||||
|
|
||||||
|
|
||||||
|
*** Keywords ***
|
||||||
|
Submit Preferences
|
||||||
|
Set Selenium Speed 2 seconds
|
||||||
|
Submit Form id=search_form
|
||||||
|
Location Should Be http://localhost:11111/
|
||||||
|
Set Selenium Speed 0 seconds
|
||||||
|
|
||||||
|
|
||||||
*** Test Cases ***
|
*** Test Cases ***
|
||||||
Front page
|
Front page
|
||||||
Page Should Contain about
|
Page Should Contain about
|
||||||
|
@ -33,8 +41,7 @@ Switch category
|
||||||
Page Should Contain Checkbox category_dummy
|
Page Should Contain Checkbox category_dummy
|
||||||
Click Element xpath=//*[.="general"]
|
Click Element xpath=//*[.="general"]
|
||||||
Click Element xpath=//*[.="dummy"]
|
Click Element xpath=//*[.="dummy"]
|
||||||
Submit Form id=search_form
|
Submit Preferences
|
||||||
Location Should Be http://localhost:11111/
|
|
||||||
Checkbox Should Not Be Selected category_general
|
Checkbox Should Not Be Selected category_general
|
||||||
Checkbox Should Be Selected category_dummy
|
Checkbox Should Be Selected category_dummy
|
||||||
|
|
||||||
|
@ -43,8 +50,7 @@ Change language
|
||||||
Page Should Contain preferences
|
Page Should Contain preferences
|
||||||
Go To http://localhost:11111/preferences
|
Go To http://localhost:11111/preferences
|
||||||
Select From List locale hu
|
Select From List locale hu
|
||||||
Submit Form id=search_form
|
Submit Preferences
|
||||||
Location Should Be http://localhost:11111/
|
|
||||||
Page Should Contain rólunk
|
Page Should Contain rólunk
|
||||||
Page Should Contain beállítások
|
Page Should Contain beállítások
|
||||||
|
|
||||||
|
@ -53,13 +59,11 @@ Change method
|
||||||
Page Should Contain preferences
|
Page Should Contain preferences
|
||||||
Go To http://localhost:11111/preferences
|
Go To http://localhost:11111/preferences
|
||||||
Select From List method GET
|
Select From List method GET
|
||||||
Submit Form id=search_form
|
Submit Preferences
|
||||||
Location Should Be http://localhost:11111/
|
|
||||||
Go To http://localhost:11111/preferences
|
Go To http://localhost:11111/preferences
|
||||||
List Selection Should Be method GET
|
List Selection Should Be method GET
|
||||||
Select From List method POST
|
Select From List method POST
|
||||||
Submit Form id=search_form
|
Submit Preferences
|
||||||
Location Should Be http://localhost:11111/
|
|
||||||
Go To http://localhost:11111/preferences
|
Go To http://localhost:11111/preferences
|
||||||
List Selection Should Be method POST
|
List Selection Should Be method POST
|
||||||
|
|
||||||
|
@ -69,8 +73,7 @@ Change theme
|
||||||
Go To http://localhost:11111/preferences
|
Go To http://localhost:11111/preferences
|
||||||
List Selection Should Be theme legacy
|
List Selection Should Be theme legacy
|
||||||
Select From List theme oscar
|
Select From List theme oscar
|
||||||
Submit Form id=search_form
|
Submit Preferences
|
||||||
Location Should Be http://localhost:11111/
|
|
||||||
Go To http://localhost:11111/preferences
|
Go To http://localhost:11111/preferences
|
||||||
List Selection Should Be theme oscar
|
List Selection Should Be theme oscar
|
||||||
|
|
||||||
|
@ -80,8 +83,7 @@ Change safesearch
|
||||||
Go To http://localhost:11111/preferences
|
Go To http://localhost:11111/preferences
|
||||||
List Selection Should Be safesearch None
|
List Selection Should Be safesearch None
|
||||||
Select From List safesearch Strict
|
Select From List safesearch Strict
|
||||||
Submit Form id=search_form
|
Submit Preferences
|
||||||
Location Should Be http://localhost:11111/
|
|
||||||
Go To http://localhost:11111/preferences
|
Go To http://localhost:11111/preferences
|
||||||
List Selection Should Be safesearch Strict
|
List Selection Should Be safesearch Strict
|
||||||
|
|
||||||
|
@ -91,8 +93,7 @@ Change image proxy
|
||||||
Go To http://localhost:11111/preferences
|
Go To http://localhost:11111/preferences
|
||||||
List Selection Should Be image_proxy Disabled
|
List Selection Should Be image_proxy Disabled
|
||||||
Select From List image_proxy Enabled
|
Select From List image_proxy Enabled
|
||||||
Submit Form id=search_form
|
Submit Preferences
|
||||||
Location Should Be http://localhost:11111/
|
|
||||||
Go To http://localhost:11111/preferences
|
Go To http://localhost:11111/preferences
|
||||||
List Selection Should Be image_proxy Enabled
|
List Selection Should Be image_proxy Enabled
|
||||||
|
|
||||||
|
@ -102,8 +103,7 @@ Change search language
|
||||||
Go To http://localhost:11111/preferences
|
Go To http://localhost:11111/preferences
|
||||||
List Selection Should Be language Automatic
|
List Selection Should Be language Automatic
|
||||||
Select From List language Turkish (Turkey) - tr_TR
|
Select From List language Turkish (Turkey) - tr_TR
|
||||||
Submit Form id=search_form
|
Submit Preferences
|
||||||
Location Should Be http://localhost:11111/
|
|
||||||
Go To http://localhost:11111/preferences
|
Go To http://localhost:11111/preferences
|
||||||
List Selection Should Be language Turkish (Turkey) - tr_TR
|
List Selection Should Be language Turkish (Turkey) - tr_TR
|
||||||
|
|
||||||
|
@ -113,8 +113,7 @@ Change autocomplete
|
||||||
Go To http://localhost:11111/preferences
|
Go To http://localhost:11111/preferences
|
||||||
List Selection Should Be autocomplete -
|
List Selection Should Be autocomplete -
|
||||||
Select From List autocomplete google
|
Select From List autocomplete google
|
||||||
Submit Form id=search_form
|
Submit Preferences
|
||||||
Location Should Be http://localhost:11111/
|
|
||||||
Go To http://localhost:11111/preferences
|
Go To http://localhost:11111/preferences
|
||||||
List Selection Should Be autocomplete google
|
List Selection Should Be autocomplete google
|
||||||
|
|
||||||
|
@ -126,8 +125,7 @@ Change allowed/disabled engines
|
||||||
Element Should Contain xpath=//label[@class="deny"][@for='engine_dummy_dummy_dummy'] Block
|
Element Should Contain xpath=//label[@class="deny"][@for='engine_dummy_dummy_dummy'] Block
|
||||||
Element Should Contain xpath=//label[@class="deny"][@for='engine_general_general_dummy'] Block
|
Element Should Contain xpath=//label[@class="deny"][@for='engine_general_general_dummy'] Block
|
||||||
Click Element xpath=//label[@class="deny"][@for='engine_general_general_dummy']
|
Click Element xpath=//label[@class="deny"][@for='engine_general_general_dummy']
|
||||||
Submit Form id=search_form
|
Submit Preferences
|
||||||
Location Should Be http://localhost:11111/
|
|
||||||
Page Should Contain about
|
Page Should Contain about
|
||||||
Page Should Contain preferences
|
Page Should Contain preferences
|
||||||
Go To http://localhost:11111/preferences
|
Go To http://localhost:11111/preferences
|
||||||
|
@ -141,16 +139,14 @@ Block a plugin
|
||||||
Go To http://localhost:11111/preferences
|
Go To http://localhost:11111/preferences
|
||||||
List Selection Should Be theme legacy
|
List Selection Should Be theme legacy
|
||||||
Select From List theme oscar
|
Select From List theme oscar
|
||||||
Submit Form id=search_form
|
Submit Preferences
|
||||||
Location Should Be http://localhost:11111/
|
|
||||||
Go To http://localhost:11111/preferences
|
Go To http://localhost:11111/preferences
|
||||||
List Selection Should Be theme oscar
|
List Selection Should Be theme oscar
|
||||||
Page Should Contain Plugins
|
Page Should Contain Plugins
|
||||||
Click Link Plugins
|
Click Link Plugins
|
||||||
Checkbox Should Not Be Selected id=plugin_HTTPS_rewrite
|
Checkbox Should Not Be Selected id=plugin_HTTPS_rewrite
|
||||||
Click Element xpath=//label[@for='plugin_HTTPS_rewrite']
|
Click Element xpath=//label[@for='plugin_HTTPS_rewrite']
|
||||||
Submit Form id=search_form
|
Submit Preferences
|
||||||
Location Should Be http://localhost:11111/
|
|
||||||
Go To http://localhost:11111/preferences
|
Go To http://localhost:11111/preferences
|
||||||
Page Should Contain Plugins
|
Page Should Contain Plugins
|
||||||
Click Link Plugins
|
Click Link Plugins
|
||||||
|
|
Loading…
Reference in New Issue