ip_auth_check
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/devices/device_edit/5
click id=dynamic_check
uncheck id=dynamic_check
type id=device_name 10333333
type id=device_secret 10355555
click id=ip_authentication
waitForValue id=ip_authentication on
type id=host 0.0.0.5
clickAndWait name=commit
open /billing/providers/edit/1
click id=ip_authentication
waitForValue id=provider_server_ip 22.33.44.55
waitForValue id=device_ipaddr 22.33.44.55
click id=add_to_servers[1]
clickAndWait name=commit
open /billing/users/edit/3
check id=own_providers
clickAndWait css=#confirm_without_message > input[name="commit"]
open /billing/callc/logout
type login_username reseller
type login_psw reseller1
clickAndWait commit
open /billing/tariffs/new
type id=tariff_name asdfg
click id=tariff[purpose]_provider
clickAndWait name=commit
open /billing/providers/new
type id=provider_name bbbbbbb
clickAndWait name=commit
type id=provider_server_ip 0.0.0.5
type id=device_ipaddr 0.0.0.5
clickAndWait name=commit
waitForTextPresent Provider's settings bad
verifyTextPresent This IP is not available
type id=provider_server_ip 22.33.44.55
type id=device_ipaddr 22.33.44.55
clickAndWait name=commit
waitForTextPresent Provider's settings bad
verifyTextPresent This IP is not available
click id=ip_authentication
type id=provider_server_ip 0.0.0.11
type id=device_ipaddr 0.0.0.11
clickAndWait name=commit
waitForTextPresent Provider was successfully updated
open /billing/devices/device_edit/7
type id=device_name 105666666666
type id=device_secret 1057777777777
click id=dynamic_check
type id=host 0.0.0.5
click id=ip_authentication
waitForValue id=ip_authentication on
clickAndWait name=commit
waitForTextPresent Device not updated
verifyTextPresent This IP is not available
type id=host 22.33.44.55
clickAndWait name=commit
waitForTextPresent Device not updated
verifyTextPresent This IP is not available
type id=host 0.0.0.12
clickAndWait name=commit
waitForTextPresent Device's settings updated
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/providers/new
type id=provider_name cccccc
click id=add_to_servers[1]
clickAndWait name=commit
type id=provider_server_ip 0.0.0.11
type id=device_ipaddr 0.0.0.11
clickAndWait name=commit
waitForTextPresent Provider's settings bad
waitForTextPresent When IP Authentication checked IP must be unique
type id=provider_server_ip 0.0.0.12
type id=device_ipaddr 0.0.0.12
clickAndWait name=commit
waitForTextPresent Provider's settings bad
waitForTextPresent When IP Authentication checked IP must be unique
open /billing/devices/new?return_to_action=list&return_to_controller=users&user_id=0
type id=device_description dddddddddd
clickAndWait name=commit
click id=dynamic_check
click id=ip_authentication
type id=host 0.0.0.11
clickAndWait name=commit
waitForTextPresent Device not updated
waitForTextPresent When IP Authentication checked IP must be unique
type id=host 0.0.0.12
clickAndWait name=commit
waitForTextPresent Device not updated
waitForTextPresent When IP Authentication checked IP must be unique
open /billing/permissions/list?group_type=reseller
type id=name group
clickAndWait css=input[type="image"]
open /billing/users/new
type id=user_username reseller22
type id=password_password reseller221
select id=user_usertype label=reseller
click id=own_providers
clickAndWait id=commit
open /billing/callc/logout
type login_username reseller22
type login_psw reseller221
clickAndWait commit
open /billing/lcrs/new
type id=lcr_name lcr
clickAndWait name=commit
open /billing/tariffs/new
type id=tariff_name asdfgasdfgsdfcv
click id=tariff[purpose]_user_wholesale
clickAndWait name=commit
open /billing/users/new
type id=user_username dfghjkl;';lkjh
type id=password_password sdrftgyhjkjhgfd
clickAndWait id=commit
open /billing/tariffs/new
type id=tariff_name asdfgasdfg
click id=tariff[purpose]_provider
clickAndWait name=commit
open /billing/providers/new
type id=provider_name bbbbbbbaa
clickAndWait name=commit
type id=provider_server_ip 0.0.0.11
type id=device_ipaddr 0.0.0.11
clickAndWait name=commit
waitForTextPresent Provider's settings bad
verifyTextPresent This IP is not available
type id=provider_server_ip 0.0.0.12
type id=device_ipaddr 0.0.0.12
clickAndWait name=commit
waitForTextPresent Provider's settings bad
verifyTextPresent This IP is not available
open /billing/devices/new?return_to_action=list&return_to_controller=users&user_id=7
type id=device_description eeeeee
clickAndWait name=commit
click id=dynamic_check
click id=ip_authentication
type id=host 0.0.0.11
clickAndWait name=commit
waitForTextPresent Device not updated
verifyTextPresent This IP is not available
type id=host 0.0.0.12
clickAndWait name=commit
waitForTextPresent Device not updated
verifyTextPresent This IP is not available
type id=host dynamic
clickAndWait name=commit
waitForTextPresent Device not updated
waitForTextPresent When IP Authentication checked Host cannot be "dynamic"
click id=dynamic_check
click id=ip_authentication
type id=host 0.0.0.0
click id=ip_authentication
clickAndWait name=commit
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/devices/device_edit/5
type id=host 0.0.0.0
clickAndWait name=commit
waitForTextPresent Device's settings updated
open /billing/callc/logout
type login_username reseller
type login_psw reseller1
clickAndWait commit
open /billing/providers/edit/2
type id=provider_server_ip 0.0.0.0
type id=device_ipaddr 0.0.0.0
clickAndWait name=commit
waitForTextPresent Provider was successfully updated
open /billing/devices/device_edit/7
type id=host 0.0.0.0
clickAndWait name=commit
waitForTextPresent Device's settings updated