open |
/billing/callc/logout |
|
type |
login_username |
admin |
type |
login_psw |
admin1 |
clickAndWait |
commit |
|
verifyTextPresent |
Succesfully logged in |
|
open |
/billing/test/load_delta_sql/users/users |
|
pause |
|
|
open |
/billing/services/subscription_new/2 |
|
select |
id=subscription_service_id |
label=Test_periodic_service, Price: 10.0 |
type |
id=subscription_memo |
azsdxcfgvbhjdfcgv |
select |
id=activation_start_year |
label=2014 |
select |
id=activation_end_year |
label=2018 |
clickAndWait |
name=commit |
|
waitForTextPresent |
Subscription added |
|
clickAndWait |
id=add_subscription |
|
type |
id=subscription_memo |
asdfghjkl |
select |
id=activation_start_year |
label=2013 |
select |
id=activation_end_year |
label=2019 |
clickAndWait |
name=commit |
|
waitForTextPresent |
Subscription added |
|
open |
/billing/stats/action_log |
|
verifyText |
id=type_3 |
login |
verifyText |
id=type_4 |
Subscription_added |
verifyText |
id=type_5 |
Subscription_added |
verifyText |
id=target_4 |
Subscription (18) |
verifyText |
id=target_5 |
Subscription (19) |
verifyText |
id=data_4 |
2 |
verifyText |
id=data_5 |
2 |
verifyText |
id=data2_4 |
1 |
verifyText |
id=data2_5 |
1 |
open |
/billing/services/subscriptions_list/2 |
|
clickAndWait |
css=img[alt="Delete"] |
|
waitForTextPresent |
Destroy subscription for postpaid user |
|
click |
id=delete_delete |
|
click |
name=commit |
|
assertConfirmation |
Are you sure? |
|
waitForTextPresent |
Subscription deleted |
|
clickAndWait |
css=img[alt="Delete"] |
|
waitForTextPresent |
Destroy subscription for postpaid user |
|
click |
id=delete_disable |
|
click |
name=commit |
|
assertConfirmation |
Are you sure? |
|
waitForTextPresent |
Subscription disabled |
|
clickAndWait |
css=#destroy_link_19 > img[alt="Delete"] |
|
waitForTextPresent |
Destroy subscription for postpaid user |
|
click |
id=delete_return_money_whole |
|
click |
name=commit |
|
assertConfirmation |
Are you sure? |
|
waitForTextPresent |
Subscription deleted and money returned |
|
open |
/billing/stats/action_log |
|
verifyText |
id=type_6 |
Subscription_deleted |
verifyText |
id=type_8 |
Subscription_deleted_and_return_money_whole |
verifyText |
id=type_7 |
Subscription_disabled |
verifyText |
id=target_6 |
Subscription (1) |
verifyText |
id=target_8 |
Subscription (19) |
verifyText |
id=target_7 |
Subscription (18) |
verifyText |
id=data_6 |
2 |
verifyText |
id=data_8 |
2 |
verifyText |
id=data_7 |
2 |
verifyText |
id=data2_6 |
1 |
verifyText |
id=data2_8 |
1 |
verifyText |
id=data2_7 |
1 |
open |
/billing/services/subscription_new/2 |
|
type |
id=subscription_memo |
asdrftghyu |
select |
id=activation_start_year |
label=2016 |
select |
id=activation_end_year |
label=2018 |
clickAndWait |
name=commit |
|
waitForTextPresent |
Subscription added |
|
open |
/billing/services/subscription_new/2 |
|
type |
id=subscription_memo |
fyumstrhngf |
select |
id=activation_start_year |
label=2016 |
select |
id=activation_end_year |
label=2018 |
clickAndWait |
name=commit |
|
waitForTextPresent |
Subscription added |
|
open |
/billing/users/edit/2 |
|
click |
id=user_postpaid_2 |
|
waitForNotVisible |
id=credit |
|
clickAndWait |
css=#confirm_without_message > input[name="commit"] |
|
waitForTextPresent |
User's settings succesfully changed: Test User #1 |
|
open |
/billing/services/subscriptions_list/2 |
|
clickAndWait |
css=img[alt="Delete"] |
|
waitForTextPresent |
Destroy Subscription for prepaid user |
|
click |
id=delete_delete |
|
click |
name=commit |
|
assertConfirmation |
Are you sure? |
|
waitForTextPresent |
Subscription deleted |
|
clickAndWait |
css=img[alt="Delete"] |
|
waitForTextPresent |
Destroy Subscription for prepaid user |
|
click |
id=delete_return_money_month |
|
click |
name=commit |
|
assertConfirmation |
Are you sure? |
|
waitForTextPresent |
Subscription deleted and money returned |
|
clickAndWait |
css=img[alt="Delete"] |
|
waitForTextPresent |
Destroy Subscription for prepaid user |
|
click |
id=delete_return_money_whole |
|
click |
name=commit |
|
assertConfirmation |
Are you sure? |
|
waitForTextPresent |
Subscription deleted and money returned |
|
open |
/billing/stats/action_log |
|
verifyText |
id=type_16 |
Subscription_deleted_and_return_money_month |