ipauth_in_location_devices
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/devices/new?return_to_action=list&return_to_controller=users&user_id=0
type id=device_description SIP_device
clickAndWait name=commit
waitForTextPresent Device created
click id=dynamic_check
waitForValue id=dynamic_check off
click id=ip_authentication
waitForValue id=ip_authentication on
type id=host 2.2.2.2
type id=port 2
clickAndWait name=commit
waitForTextPresent Device's settings updated
open /billing/devices/new?return_to_action=list&return_to_controller=users&user_id=2
type id=device_description IAX2_device
click id=device[device_type]_iax2
clickAndWait name=commit
waitForTextPresent Device created
click id=dynamic_check
waitForValue id=dynamic_check off
click id=ip_authentication
waitForValue id=ip_authentication on
type id=host 4.4.4.4
type id=port 4
clickAndWait name=commit
waitForTextPresent Device's settings updated
open /billing/devices/device_edit/2
click id=dynamic_check
waitForValue id=dynamic_check off
click id=ip_authentication
waitForValue id=ip_authentication on
type id=host 5.5.5.5
type id=port 4
clickAndWait name=commit
waitForTextPresent Device's settings updated
open /billing/devices/device_all_details/2
storeText id=name_value ipauth1
open /billing/devices/device_all_details/8
storeText id=name_value ipauth2
open /billing/devices/device_all_details/9
storeText id=name_value ipauth3
open /billing/locations/location_devices/1
verifyTextNotPresent ${ipauth1}
verifyTextNotPresent ${ipauth2}
verifyTextNotPresent ${ipauth3}