default_user2
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/users/default_user
check id=allow_loss_calls
clickAndWait name=commit
waitForTextPresent Default User saved
waitForTextPresent Some of configuration needs your attention.
assertTextPresent Some of configuration needs your attention. Please click here to see it
clickAndWait link=Some of configuration needs your attention. Please click here to see it
open /billing/functions/integrity_check
assertText id=default_user_warning Default user warning: Default user is set to postpaid and allowed loss calls
verifyElementPresent css=#fix_default_user > a
open /billing/users/new
type id=user_username user1
type id=password_password user11
verifyValue id=allow_loss_calls on
verifyValue id=user_postpaid_1 on
clickAndWait name=commit
waitForTextPresent User succesfully created
open /billing/users/new
type id=user_username user2
type id=password_password user21
verifyValue id=allow_loss_calls on
verifyValue id=user_postpaid_1 on
clickAndWait name=commit
waitForTextPresent User succesfully created
open /billing/users/new
type id=user_username user3
type id=password_password user31
verifyValue id=allow_loss_calls on
verifyValue id=user_postpaid_1 on
clickAndWait name=commit
waitForTextPresent User succesfully created
open /billing/functions/integrity_check
verifyText allow_loss_calls Users that are set to postpaid and allowed to make loss calls
verifyText pospaid_and_loss_calls_size 3
verifyElementPresent //a[contains(@href, '/billing/users/users_postpaid_and_allowed_loss_calls')]
open /billing/users/users_postpaid_and_allowed_loss_calls
verifyText id=user_link_6 user1
verifyText id=user_link_7 user2
verifyText id=user_link_8 user3
verifyElementPresent id=edit_6
verifyElementPresent id=edit_7
verifyElementPresent id=edit_8
open /billing/users/edit/6
click id=user_postpaid_2
clickAndWait css=#confirm_without_message > input[name="commit"]
waitForTextPresent User's settings succesfully changed: user1
open /billing/functions/integrity_check
verifyText allow_loss_calls Users that are set to postpaid and allowed to make loss calls
verifyText pospaid_and_loss_calls_size 2
open /billing/users/list
click css=#delete_link_7 > img[alt="Delete"]
assertConfirmation Are you sure?
waitForTextPresent User deleted
click css=#delete_link_8 > img[alt="Delete"]
assertConfirmation Are you sure?
waitForTextPresent User deleted
open /billing/functions/integrity_check
verifyText allow_loss_calls Users that are set to postpaid and allowed to make loss calls
verifyText pospaid_and_loss_calls_size 0
open /billing/users/default_user
click id=user_postpaid_2
clickAndWait name=commit
waitForTextPresent Default User saved
verifyTextNotPresent System may not be working properly.
verifyElementNotPresent link=Integrity Check
open /billing/functions/integrity_check
verifyTextNotPresent Default user warning: Default user is set to postpaid and allowed loss calls
open /billing/users/new
type id=user_username user2
type id=password_password user21
verifyValue id=allow_loss_calls on
click id=user_postpaid_1
waitForValue id=user_postpaid_1 on
clickAndWait name=commit
waitForTextPresent User succesfully created
waitForTextPresent Some of configuration needs your attention.
open /billing/callc/logout
type login_username reseller
type login_psw reseller1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/users/default_user
check id=allow_loss_calls
waitForValue id=allow_loss_calls on
click id=user_balance_value
waitForValue id=user_postpaid_1 on
clickAndWait name=commit
verifyValue id=user_postpaid_1 on
verifyValue id=allow_loss_calls on
waitForTextPresent Default User saved
open /billing/users/new
type id=user_username jhgfd
type id=password_password ghfds
verifyValue id=user_postpaid_1 on
verifyValue id=allow_loss_calls on
clickAndWait name=commit
waitForTextPresent User succesfully created
open /billing/users/edit/10
verifyValue id=user_postpaid_1 on
verifyValue id=allow_loss_calls on
clickAndWait css=#confirm_without_message > input[name="commit"]
waitForTextPresent User's settings succesfully changed: jhgfd
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
waitForTextPresent Some of configuration needs your attention.
open /billing/functions/integrity_check
verifyTextPresent Users that are set to postpaid and allowed to make loss calls
verifyText id=pospaid_and_loss_calls_size 2
verifyText id=allow_loss_calls Users that are set to postpaid and allowed to make loss calls
verifyText id=default_user_warning_size 1
verifyText id=default_user_warning Default user warning: Default user is set to postpaid and allowed loss calls
open /billing/users/users_postpaid_and_allowed_loss_calls
verifyText id=user_link_9 user2
open /billing/users/default_user_errors_list
verifyText id=user_link_3 Test Reseller
open /billing/users/edit/9
click id=user_postpaid_2
waitForValue id=user_postpaid_2 on
clickAndWait css=#confirm_without_message > input[name="commit"]
waitForTextPresent User's settings succesfully changed: user2
open /billing/callc/logout
type login_username reseller
type login_psw reseller1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/users/default_user
click id=allow_loss_calls
waitForValue id=allow_loss_calls off
clickAndWait name=commit
waitForTextPresent Default User saved
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
waitForTextPresent Some of configuration needs your attention.
open /billing/functions/integrity_check
verifyText id=allow_loss_calls Users that are set to postpaid and allowed to make loss calls
verifyText id=pospaid_and_loss_calls_size 1
open /billing/users/users_postpaid_and_allowed_loss_calls
waitForTextPresent jhgfd (resellers user)