user_rates
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/functions/settings
uncheck show_rates_for_users
uncheck show_rates_without_tax
uncheck show_advanced_rates_for_users
clickAndWait commit
verifyNotChecked show_rates_for_users
verifyNotChecked show_rates_without_tax
verifyNotChecked show_advanced_rates_for_users
open /billing/users/edit/2
type tax1_value 10
select user_tariff_id label=Retail - Test Tariff + 0.1
clickAndWait commit
assertConfirmation Are you sure?
verifyTextPresent User's settings succesfully changed: Test User #1
open /billing/tariffs/user_arates_full/4?dg=1
select date_hour label=05
select date_minute label=00
select date_second label=00
clickAndWait //input[@type='image']
verifyTextPresent Rate details updated
open /billing/tariffs/user_arates/503?dt=&st=00%3A00%3A00
click infinity
select artype_237 label=event
type price 3
clickAndWait //input[@type='image']
verifyTextPresent Rate updated
verifyTextPresent Rate updated
verifyTextPresent Rate updated
type //input[@id='price' and @name='price' and @value='0'] 2
clickAndWait //th[6]/input
open /billing/tariffs/user_arates_full/4?dg=1
clickAndWait link=Split to Work Days and Free Days
verifyTextPresent Rate details splited
open /billing/tariffs/user_arates_full/4?dg=2
open /billing/tariffs/user_arates/504?dt=&st=00%3A00%3A00
type price 5
clickAndWait //input[@type='image']
verifyTextPresent Rate updated
open /billing/callc/logout
type login_username 101
type login_psw 1011
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/tariffs/user_rates
verifyTextPresent Don't be so smart...
open /billing/tariffs/user_rates_detailed
verifyTextPresent Don't be so smart...
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/functions/settings
check show_rates_for_users
check show_rates_without_tax
check show_advanced_rates_for_users
clickAndWait commit
verifyChecked show_rates_for_users
verifyChecked show_rates_without_tax
verifyChecked show_advanced_rates_for_users
open /billing/callc/logout
type login_username 101
type login_psw 1011
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/tariffs/user_rates
verifyTextPresent Afghanistan
verifyTextPresent Details
open /billing/tariffs/user_rates_detailed/1
verifyTextPresent Time: 00:00:00 - 05:00:00
verifyTextPresent Time: 05:00:01 - 23:59:59
verifyText type_237 event
verifyText type_239 minute
verifyText price_no_tax_237 3.0000
verifyText price_no_tax_239 2.0000
verifyText price_237 3.3000
verifyText price_239 2.2000
open /billing/tariffs/user_rates_detailed/2
verifyText price_no_tax_243 5.0000
verifyText price_243 5.5000
verifyText round_243 1
verifyText type_243 minute