open |
/billing/callc/logout |
|
type |
login_username |
admin |
type |
login_psw |
admin1 |
clickAndWait |
commit |
|
verifyTextPresent |
Succesfully logged in |
|
open |
/billing/users/list |
|
open |
/billing/users/edit/0 |
|
waitForElementPresent |
link=Manual |
|
select |
id=user[time_zone] |
label=(GMT+05:00) Islamabad, Karachi, Tashkent |
clickAndWait |
css=#confirm_without_message > input[name="commit"] |
|
waitForTextPresent |
User's settings succesfully changed: System Admin |
|
open |
/billing/test/load_delta_sql/sql/update_cc_cards_dates |
|
waitForElementPresent |
//body |
|
open |
/billing/callc/logout |
|
type |
login_username |
admin |
type |
login_psw |
admin1 |
clickAndWait |
commit |
|
verifyTextPresent |
Succesfully logged in |
|
open |
/billing/cards/list?cg=1&clean=1 |
|
verifyText |
id=first_use_20 |
2012-01-01 |
waitForElementPresent |
link=Manual |
|
assertText |
id=daily_charge_20 |
2013-12-01 |
open |
/billing/users/edit/0 |
|
select |
id=user[time_zone] |
label=(GMT-03:00) Brasilia, Buenos Aires, Greenland |
clickAndWait |
css=#confirm_without_message > input[name="commit"] |
|
waitForTextPresent |
User's settings succesfully changed: System Admin |
|
open |
/billing/cards/list?cg=1&clean=1 |
|
verifyText |
id=first_use_20 |
2011-12-31 |
assertText |
id=daily_charge_20 |
2013-11-30 |
open |
/billing/cards/show/20 |
|
assertTextPresent |
First use: 2011-12-31 |
|
open |
/billing/cards/edit/20 |
|
verifyElementPresent |
id=card_first_use_1i |
|
verifyElementPresent |
id=card_first_use_2i |
|
verifyElementPresent |
id=card_first_use_3i |
|
verifyElementNotPresent |
id=card_first_use_4i |
|
verifyElementNotPresent |
id=card_first_use_5i |
|
verifyElementPresent |
id=card_daily_charge_paid_till_1i |
|
verifyElementPresent |
id=card_daily_charge_paid_till_2i |
|
verifyElementPresent |
id=card_daily_charge_paid_till_3i |
|
verifySelectedLabel |
id=card_daily_charge_paid_till_1i |
2013 |
verifySelectedLabel |
id=card_daily_charge_paid_till_2i |
December |
verifySelectedLabel |
id=card_daily_charge_paid_till_3i |
1 |
select |
id=card_first_use_1i |
label=2017 |
select |
id=card_first_use_2i |
label=December |
select |
id=card_first_use_3i |
label=31 |
select |
id=card_daily_charge_paid_till_1i |
label=2017 |
select |
id=card_daily_charge_paid_till_3i |
label=31 |
select |
id=card[user_id] |
label=Test Reseller |
clickAndWait |
name=commit |
|
assertTextPresent |
Card was successfully updated |
|
open |
/billing/users/edit/3 |
|
select |
id=user[time_zone] |
label=(GMT+13:00) Nuku'alofa |
clickAndWait |
css=#confirm_without_message > input[name="commit"] |
|
assertTextPresent |
User's settings succesfully changed: Test Reseller |
|
open |
/billing/callc/logout |
|
type |
login_username |
reseller |
type |
login_psw |
reseller1 |
clickAndWait |
commit |
|
verifyTextPresent |
Succesfully logged in |
|
open |
/billing/cards/user_list |
|
assertText |
id=first_use_20 |
2017-12-31 |
open |
/billing/callc/logout |
|
type |
login_username |
admin |
type |
login_psw |
admin1 |
clickAndWait |
commit |
|
open |
/billing/cards/list?cg=1&clean=1 |
|
assertText |
id=first_use_20 |
2017-12-30 |
assertText |
id=daily_charge_20 |
2017-12-30 |