default_currency
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/test/load_delta_sql/sql/update_currencies
open /billing/currencies/currencies
clickAndWait icon_chech_curr_upd_disable_2
verifyElementPresent icon_cross_curr_upd_enable_2
clickAndWait icon_chech_curr_upd_disable_19
verifyElementPresent icon_cross_curr_upd_enable_19
verifyText USD_exchange_rate 1.0
verifyText EUR_exchange_rate 0.5
verifyText GBP_exchange_rate 1.0
verifyText BRL_exchange_rate 1.0
verifyText icon_chech_curr_upd_disable_18
verifyText icon_cross_curr_upd_enable_19
verifyText icon_cross_curr_upd_enable_2
open /billing/currencies/change_default
clickAndWait css=#enable_19 > img[alt="Cross"]
assertConfirmation Are you sure?
waitForTextPresent Currencies rates updated
open /billing/currencies/currencies
verifyText EUR_exchange_rate 0.5
verifyText GBP_exchange_rate 1.0
verifyTextNotPresent BRL_exchange_rate 0.0
verifyText icon_cross_curr_upd_enable_19
verifyText icon_chech_curr_upd_disable_18
verifyText USD_exchange_rate 1.0
verifyValue //input[@type='image']
clickAndWait id=icon_cross_curr_active_19
clickAndWait id=icon_cross_curr_active_35
open /billing/users/personal_details
select id=user[currency_id] label=USD
clickAndWait commit
open /billing/services/subscription_edit/1?back=subscriptions&page=1&s_date_from=-1&s_date_till=-1&s_device=-1&s_memo=&s_service=-1&s_user=-1
verifyTextPresent USD
open /billing/users/personal_details
select id=user[currency_id] label=EUR
clickAndWait commit
open /billing/services/subscription_edit/1?back=subscriptions&page=1&s_date_from=-1&s_date_till=-1&s_device=-1&s_memo=&s_service=-1&s_user=-1
verifyTextPresent EUR
open /billing/users/personal_details
select id=user[currency_id] label=GBP
clickAndWait commit
open /billing/services/subscription_edit/1?back=subscriptions&page=1&s_date_from=-1&s_date_till=-1&s_device=-1&s_memo=&s_service=-1&s_user=-1
verifyTextPresent GBP
open /billing/users/personal_details
select id=user[currency_id] label=HRK
clickAndWait commit
open /billing/services/subscription_edit/1?back=subscriptions&page=1&s_date_from=-1&s_date_till=-1&s_device=-1&s_memo=&s_service=-1&s_user=-1
verifyTextPresent HRK
open /billing/currencies/change_default
clickAndWait css=#enable_19 > img[alt="Cross"]
assertConfirmation Are you sure?
open /billing/users/edit/2
select id=user[currency_id] label=EUR
clickAndWait commit
assertConfirmation Are you sure?
verifyTextPresent User's settings succesfully changed: Test User #1
open /billing/callc/logout
type login_username 101
type login_psw 1011
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/services/user_subscriptions
verifyTextPresent EUR
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/users/edit/2
select id=user[currency_id] label=ALL
clickAndWait commit
assertConfirmation Are you sure?
verifyTextPresent User's settings succesfully changed: Test User #1
open /billing/callc/logout
type login_username 101
type login_psw 1011
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/services/user_subscriptions
verifyTextPresent ALL
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/users/edit/2
select id=user[currency_id] label=HRK
clickAndWait commit
assertConfirmation Are you sure?
verifyTextPresent User's settings succesfully changed: Test User #1
open /billing/callc/logout
type login_username 101
type login_psw 1011
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/services/user_subscriptions
verifyTextPresent HRK
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/services/subscription_new/3
type id=subscription_memo reseller_subscription
select id=activation_end_year label=2013
clickAndWait commit
open /billing/callc/logout
type login_username reseller
type login_psw reseller1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/users/personal_details
select id=user[currency_id] label=EUR
clickAndWait commit
open /billing/services/user_subscriptions
verifyTextPresent EUR
open /billing/users/personal_details
select id=user[currency_id] label=HRK
clickAndWait commit
open /billing/services/user_subscriptions
verifyTextPresent HRK
open /billing/users/personal_details
select id=user[currency_id] label=ALL
clickAndWait commit
open /billing/services/user_subscriptions
verifyTextPresent ALL
open /billing/users/personal_details
select id=user[currency_id] label=USD
clickAndWait commit
open /billing/services/user_subscriptions
verifyTextPresent USD
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/users/edit/3
click id=user_username
type id=password_password reseller1
clickAndWait commit
assertConfirmation Are you sure?
open /billing/callc/logout
type login_username reseller
type login_psw reseller1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/services/new
type id=service_name test_service
click id=service_servicetype_one_time_fee
clickAndWait name=commit
open /billing/services/subscription_new/5
type id=subscription_memo user_reseller_subscription
select id=activation_end_year label=2013
clickAndWait name=commit
open /billing/users/edit/5
select id=user[currency_id] label=EUR
clickAndWait commit
assertConfirmation Are you sure?
open /billing/callc/logout
type login_username user_reseller
type login_psw user_reseller1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/services/user_subscriptions
verifyTextPresent EUR
open /billing/callc/logout
type login_username reseller
type login_psw reseller1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/users/edit/5
select id=user[currency_id] label=ALL
clickAndWait commit
assertConfirmation Are you sure?
open /billing/callc/logout
type login_username user_reseller
type login_psw user_reseller1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/services/user_subscriptions
verifyTextPresent ALL
open /billing/callc/logout
type login_username reseller
type login_psw reseller1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/users/edit/5
select id=user[currency_id] label=HRK
clickAndWait commit
assertConfirmation Are you sure?
open /billing/callc/logout
type login_username user_reseller
type login_psw user_reseller1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/services/user_subscriptions
verifyTextPresent HRK
open /billing/callc/logout
type login_username reseller
type login_psw reseller1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/users/edit/5
select id=user[currency_id] label=USD
clickAndWait commit
assertConfirmation Are you sure?
open /billing/callc/logout
type login_username user_reseller
type login_psw user_reseller1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/services/user_subscriptions
verifyTextPresent USD
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/tariffs/ratedetail_edit/1
type id=ratedetail_rate 5
clickAndWait name=commit
assertTextPresent updated
open /billing/tariffs/edit/1
select name=tariff[currency] label=LABAS
clickAndWait name=commit
assertTextPresent updated
open /billing/currencies/currencies
assertText id=cur_name_146 MDL
assertText id=cur_full_name_146 Moldovan leu
assertText id=icon_cross_curr_active_146
assertText //a[contains(@href, '/billing/currencies/currencies_change_update_status/145')]
assertText id=cur_edit_146 Yahoo
clickAndWait link=Update currencies from web
waitForTextPresent Currencies rates updated
clickAndWait id=cur_edit_143
waitForTextPresent Error updating currency
open /billing/currencies/change_default
clickAndWait css=#enable_143 > img[alt="Cross"]
assertConfirmation Are you sure?
waitForTextPresent Currencies rates updated
open /billing/tariffs/rates_list/1
assertElementPresent //a[contains(@href, '/billing/tariffs/list')]