weak_password_check
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=2
type device_description dev_ip
clickAndWait commit
verifyTextPresent Device created
click id=dynamic_check
waitForValue id=dynamic_check off
waitForValue id=ip_authentication off
type host 123.123.0.0
click ip_authentication
waitForValue id=ip_authentication on
clickAndWait commit
verifyTextPresent Device's settings updated
open /billing/devices/devices_all
clickAndWait //img[@alt='Edit']
type device_secret 10333
clickAndWait commit
open /billing/functions/settings
click //div[@name='visual']
type items_per_page 2
clickAndWait commit
open /billing/devices/devices_all
clickAndWait link=User
clickAndWait link=2
verifyTextNotPresent id_4 4
verifyTextNotPresent id_8 8
clickAndWait link=3
verifyText id_5 5
clickAndWait link=1
verifyTextNotPresent id_2 2
verifyTextNotPresent id_3 3
open /billing/functions/settings
click //div[@name='visual']
type items_per_page 50
clickAndWait commit
open /billing/functions/integrity_check
verifyText devices_with_weak_password_size 6
open /billing/devices/devices_weak_passwords
clickAndWait //a[@id='edit_device_5']/img
type device_secret 10333333
click commit
waitForTextPresent Device's settings updated
open /billing/functions/integrity_check
verifyText devices_with_weak_password_size 5
clickAndWait link=Fix
clickAndWait //img[@alt='Edit']
type provider_password testTEST
check id=add_to_servers[1]
clickAndWait commit
open /billing/functions/integrity_check
verifyText devices_with_weak_password_size 4
open /billing/functions/settings
click //div[@name='visual']
type items_per_page 2
clickAndWait commit
open /billing/functions/integrity_check
clickAndWait //img[@alt='Wrench']
clickAndWait link=2
verifyTextNotPresent FAX/102
clickAndWait link=1
verifyTextNotPresent IAX2/105
open /billing/callc/logout
type login_username reseller
type login_psw reseller1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/devices/devices_weak_passwords
verifyTextPresent You are not authorized to view this page
open /billing/devices/devices_all
open /billing/functions/integrity_check
verifyTextPresent You are not authorized to view this page
open /billing/callc/logout
type login_username accountant
type login_psw accountant1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/devices/devices_weak_passwords
verifyTextPresent You are not authorized to view this page
open /billing/devices/devices_all
verifyTextPresent You are not authorized to view this page
open /billing/functions/integrity_check
verifyTextPresent You are not authorized to view this page
open /billing/callc/logout
type login_username 101
type login_psw 1011
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/devices/devices_weak_passwords
verifyTextPresent You are not authorized to view this page
open /billing/devices/devices_all
verifyTextPresent You are not authorized to view this page
open /billing/functions/integrity_check
verifyTextPresent You are not authorized to view this page