backups
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/backups/backup_manager
clickAndWait link=New Backup
type comment test
clickAndWait commit
verifyTextPresent Backup created
verifyText type_1 manual
verifyText comment_1 test
verifyText download_1
verifyText //img[@alt='Database_go']
verifyText restore_1
verifyText //img[@alt='Database_refresh']
verifyText destroy_1
verifyText //img[@alt='Delete']
open /billing/stats/action_log
clickAndWait commit
verifyText type_4 backup_created
verifyText data_4 1
verifyText user_4 System Admin
verifyText data2_4 0
open /billing/emails/list
clickAndWait link=Add new email
type email_name testinis
type email_subject testinis
clickAndWait commit
verifyTextPresent Email was successfully created
verifyText name_testinis testinis
verifyText subject_testinis testinis
verifyText emails_testinis 0
open /billing/backups/backup_manager
clickAndWait //img[@alt='Database_refresh']
assertConfirmation Are you sure?
waitForTextPresent Backup restored
open /billing/stats/action_log
clickAndWait commit
verifyText type_4 backup_restored
verifyText data_4 1
verifyText data2_4 0
verifyText user_4 System Admin
open /billing/emails/list
verifyTextNotPresent name_testinis
verifyTextNotPresent subject_testinis
verifyTextNotPresent emails_testinis
open /billing/backups/backup_manager
clickAndWait //img[@alt='Delete']
assertConfirmation Are you sure?
verifyTextPresent Backup deleted
verifyTextNotPresent type_1
verifyTextNotPresent comment_1
verifyTextNotPresent download_1
open /billing/backups/backup_destroy/1000
verifyTextPresent Backup not found
verifyTextNotPresent INTERNAL ERROR
open /billing/backups/backup_restore/100
verifyTextPresent Backup not found
open /billing/backups/backup_download/100
verifyTextPresent Backup not found
verifyTextNotPresent INTERNAL ERROR
open /billing/callc/logout
type login_username 101
type login_psw 1011
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/backups/backup_destroy/2
verifyTextPresent You are not authorized to view this page
open /billing/backups
verifyTextPresent You are not authorized to view this page
open /billing/backups/backup_new
verifyTextPresent You are not authorized to view this page
open /billing/backups/backup_manager
verifyTextPresent You are not authorized to view this page
open /billing/backups/backup_download/1
verifyTextPresent You are not authorized to view this page
open /billing/backups/backup_restore/1
verifyTextPresent You are not authorized to view this page
open /billing/callc/logout
type login_username reseller
type login_psw reseller1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/backups/backup_destroy/2
verifyTextPresent You are not authorized to view this page
open /billing/backups
verifyTextPresent You are not authorized to view this page
open /billing/backups/backup_new
verifyTextPresent You are not authorized to view this page
open /billing/backups/backup_manager
verifyTextPresent You are not authorized to view this page
open /billing/backups/backup_download/1
verifyTextPresent You are not authorized to view this page
open /billing/backups/backup_restore/1
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/backups/backup_destroy/2
verifyTextPresent You are not authorized to view this page
open /billing/backups
verifyTextPresent You are not authorized to view this page
open /billing/backups/backup_new
verifyTextPresent You are not authorized to view this page
open /billing/backups/backup_manager
verifyTextPresent You are not authorized to view this page
open /billing/backups/backup_download/1
verifyTextPresent You are not authorized to view this page
open /billing/backups/backup_restore/1
verifyTextPresent You are not authorized to view this page
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
open /billing/test/time
verifyElementPresent hour
storeText hour back_time
open /billing/functions/settings
check shedule
select backup_month label=Every month
select backup_month_day label=Every day
select backup_week_day label=Every day
select hour label=${back_time}
clickAndWait commit
open /billing/callc/hourly_actions
verifyTextNotPresent To fast.
assertTextPresent Mission complete
open /billing/dids/list
clickAndWait //a[@id='edit_link_1']/img
clickAndWait //input[@type='image']
open /billing/stats/action_log
verifyElementPresent type_13
verifyTextPresent did_assigned_to_dp
open /billing/backups/backup_manager
verifyElementPresent type_2
verifyText type_2 auto
clickAndWait back_restore_2
assertConfirmation Are you sure?
verifyTextPresent Backup restored
open /billing/stats/action_log
verifyElementPresent type_24
verifyTextNotPresent did_assigned_to_dp
verifyText type_24 backup_restored