./basic.case
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/test/load_delta_sql/acc_groups
waitForElementPresent //body
open /billing/functions/settings
click //div[@name='visual']
waitForTextPresent Hide Recordings for all users:
verifyValue id=hide_recordings_for_all_users off
click id=hide_recordings_for_all_users
verifyValue id=hide_recordings_for_all_users on
clickAndWait name=commit
waitForTextPresent Settings saved
click //div[@name='visual']
waitForTextPresent Hide Recordings for all users:
verifyValue id=hide_recordings_for_all_users on
verifyNotText saddons_menu14 Recordings
open /billing/callc/main
verifyTextNotPresent Recordings
open /billing/users/new
verifyTextNotPresent Recordings
select id=user_usertype label=reseller
type id=user_username rspro
type id=password_password rspro1
check id=own_providers
clickAndWait name=commit
waitForTextPresent User succesfully created
open /billing/devices/new?return_to_action=list&return_to_controller=users&user_id=6
type id=device_description rsprodevice
clickAndWait name=commit
waitForTextPresent Device created
verifyTextNotPresent Recordings
clickAndWait name=commit
waitForTextPresent Device's settings updated
open /billing/callc/logout
type login_username 101
type login_psw 1011
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/users/personal_details
verifyTextNotPresent Recordings
open /billing/callc/logout
type login_username reseller
type login_psw reseller1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/users/personal_details
verifyTextNotPresent Recordings
open /billing/callc/logout
type login_username rspro
type login_psw rspro1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/users/personal_details
verifyTextNotPresent Recordings
open /billing/lcrs/new
type id=lcr_name lcr
clickAndWait name=commit
waitForTextPresent LCR was successfully created
open /billing/tariffs/new
type id=tariff_name tariffas
clickAndWait name=commit
waitForTextPresent Tariff was successfully created
open /billing/users/new
verifyTextNotPresent Recordings
type id=user_username user_rspro
type id=password_password user_rspro1
clickAndWait name=commit
waitForTextPresent User succesfully created
open /billing/users/edit/7
verifyTextNotPresent Recordings
open /billing/devices/new?return_to_action=list&return_to_controller=users&user_id=7
type id=device_description device
clickAndWait name=commit
waitForTextPresent Device created
verifyTextNotPresent Recordings
clickAndWait name=commit
waitForTextPresent Device's settings updated
open /billing/callc/logout
type login_username accountant
type login_psw accountant1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/users/personal_details
verifyTextNotPresent Recordings
open /billing/callc/logout
type login_username user_reseller
type login_psw user_reseller1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/users/personal_details
verifyTextNotPresent Recordings
open /billing/callc/logout
type login_username user_rspro
type login_psw user_rspro1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/users/personal_details
verifyTextNotPresent Recordings
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/users/edit/6
uncheck id=own_providers
clickAndWait css=#confirm_without_message > input[name="commit"]
waitForTextPresent User's settings succesfully changed: rspro
verifyTextNotPresent Recordings
open /billing/callc/logout
type login_username rspro
type login_psw rspro1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/users/personal_details
verifyTextNotPresent Recordings
open /billing/callc/logout
type login_username user_rspro
type login_psw user_rspro1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/users/personal_details
verifyTextNotPresent Recordings