open |
/billing/callc/logout |
|
type |
login_username |
admin |
type |
login_psw |
admin1 |
clickAndWait |
commit |
|
verifyTextPresent |
Succesfully logged in |
|
open |
/billing/cron_actions/new |
|
waitForElementPresent |
//img[@alt='Add'] |
|
type |
cron_setting_name |
aaaaaa |
select |
activation_start_year |
label=2010 |
select |
activation_start_month |
label=January |
select |
activation_start_day |
label=1 |
select |
activation_start_hour |
label=00 |
select |
activation_end_year |
label=2012 |
select |
activation_end_month |
label=January |
select |
activation_end_day |
label=1 |
select |
activation_end_hour |
label=01 |
type |
cron_setting_description |
asdfghjklqwertyuiopzxcvbnm |
clickAndWait |
commit |
|
verifyTextPresent |
Setting not created |
|
verifyTextPresent |
Please enter correct period |
|
select |
activation_start_year |
label=2019 |
select |
activation_end_year |
label=2021 |
clickAndWait |
commit |
|
verifyTextPresent |
Setting saved |
|
open |
/billing/cron_actions |
|
verifyText |
name_1 |
aaaaaa |
verifyText |
action_1 |
change_tariff |
verifyElementPresent |
user_1 |
|
open |
/billing/cron_actions/edit/1 |
|
type |
id=cron_setting_name |
pakeistas vardas |
select |
id=cron_setting[action] |
label=Change provider tariff |
select |
id=cron_setting[provider_target_id] |
label=Test Provider |
select |
id=cron_setting[provider_to_target_id] |
label=Test Tariff bad currency |
select |
id=cron_setting[periodic_type] |
label=Weekly |
select |
id=activation_start_year |
label=2016 |
type |
id=cron_setting_description |
naujas apibudinimas |
clickAndWait |
name=commit |
|
waitForTextPresent |
Setting updeted |
|
verifyTextPresent |
pakeistas vardas |
|
verifyTextPresent |
change_provider_tariff |
|
verifyTextPresent |
Test Provider |
|
open |
/billing/cron_actions/new |
|
type |
cron_setting_name |
bbbbbb |
select |
cron_setting[target_id] |
label=Test Reseller |
select |
cron_setting[periodic_type] |
label=Monthly |
select |
activation_start_year |
label=2016 |
select |
activation_start_month |
label=June |
select |
activation_start_day |
label=2 |
select |
activation_start_hour |
label=04 |
select |
activation_end_year |
label=2016 |
select |
activation_end_month |
label=December |
select |
activation_end_day |
label=5 |
select |
activation_end_hour |
label=08 |
type |
cron_setting_description |
aHSZjtykr,xcfgvkcyxresrxd,xtxmdktydk,dyf |
select |
cron_setting[to_target_id] |
label=Test Tariff for Users |
clickAndWait |
commit |
|
open |
/billing/cron_actions/new |
|
type |
cron_setting_name |
ccccccccccccccccc |
select |
cron_setting[target_id] |
label=Test Accountant |
select |
cron_setting[to_target_id] |
label=Test Tariff for Users |
select |
cron_setting[periodic_type] |
label=Free days |
select |
activation_start_year |
label=2019 |
select |
activation_start_month |
label=January |
select |
activation_start_day |
label=1 |
select |
activation_start_hour |
label=00 |
select |
activation_end_year |
label=2019 |
select |
activation_end_month |
label=February |
select |
activation_end_day |
label=1 |
select |
activation_end_hour |
label=00 |
clickAndWait |
commit |
|
open |
/billing/cron_actions |
|
verifyText |
name_1 |
pakeistas vardas |
verifyText |
name_2 |
bbbbbb |
verifyText |
name_3 |
ccccccccccccccccc |
open |
/billing/providers/edit/1 |
|
verifySelectedLabel |
id=provider_tariff_id |
Test Tariff |
open |
/billing/users/edit/4 |
|
verifySelectedLabel |
user_tariff_id |
Wholesale - Test Tariff for Users |
open |
/billing/users/edit/3 |
|
verifySelectedLabel |
user_tariff_id |
Retail - Test Tariff + 0.1 |
open |
/billing/users/edit/2 |
|
verifySelectedLabel |
user_tariff_id |
Wholesale - Test Tariff for Users |
open |
/billing/test/load_delta_sql/cron_actions |
|
open |
/billing/callc/hourly_actions |
|
waitForText |
//div/b |
Mission complete |
open |
/billing/cron_actions |
|
verifyText |
name_1 |
pakeistas vardas |
verifyText |
name_2 |
bbbbbb |
verifyText |
name_3 |
ccccccccccccccccc |
verifyText |
name_121 |
Geras |
verifyText |
name_122 |
Geriau |
verifyText |
name_123 |
Gerai |
verifyText |
name_124 |
Name |
open |
/billing/providers/edit/1 |
|
verifySelectedLabel |
id=provider_tariff_id |
Test Tariff bad currency |
open |
/billing/users/edit/4 |
|
verifySelectedLabel |
user_tariff_id |
Retail - Test Tariff + 0.1 |
open |
/billing/users/edit/3 |
|
verifySelectedLabel |
user_tariff_id |
Wholesale - Test Tariff for Users |
open |
/billing/users/edit/2 |
|
verifySelectedLabel |
user_tariff_id |
Retail - Test Tariff + 0.1 |
click |
css=img[alt=Edit] |
|
open |
/billing/callc/logout |
|
type |
login_username |
reseller |
type |
login_psw |
reseller1 |
clickAndWait |
commit |
|
verifyTextPresent |
Succesfully logged in |
|
open |
/billing/cron_actions/new |
|
waitForTextPresent |
You are not authorized to view this page |
|
open |
/billing/cron_actions/edit/1 |
|
waitForTextPresent |
You are not authorized to view this page |
|
open |
/billing/cron_actions/destroy/1 |
|
waitForTextPresent |
You are not authorized to view this page |
|
open |
/billing/callc/logout |
|
type |
login_username |
101 |
type |
login_psw |
1011 |
clickAndWait |
commit |
|
verifyTextPresent |
Succesfully logged in |
|
open |
/billing/cron_actions/new |
|
waitForTextPresent |
You are not authorized to view this page |
|
open |
/billing/cron_actions/edit/1 |
|
waitForTextPresent |
You are not authorized to view this page |
|
open |
/billing/cron_actions/destroy/1 |
|
waitForTextPresent |
You are not authorized to view this page |
|
open |
/billing/callc/logout |
|
type |
login_username |
accountant |
type |
login_psw |
accountant1 |
clickAndWait |
commit |
|
verifyTextPresent |
Succesfully logged in |
|
open |
/billing/cron_actions/new |
|
waitForTextPresent |
You are not authorized to view this page |
|
open |
/billing/cron_actions/edit/1 |
|
waitForTextPresent |
You are not authorized to view this page |
|
open |
/billing/cron_actions/destroy/1 |
|
waitForTextPresent |
You are not authorized to view this page |
|
open |
/billing/callc/logout |
|
type |
login_username |
user_reseller |
type |
login_psw |
user_reseller1 |
clickAndWait |
commit |
|
verifyTextPresent |
Succesfully logged in |
|
open |
/billing/cron_actions/new |
|
waitForTextPresent |
You are not authorized to view this page |
|
open |
/billing/cron_actions/edit/1 |
|
waitForTextPresent |
You are not authorized to view this page |
|
open |
/billing/cron_actions/destroy/1 |
|
waitForTextPresent |
You are not authorized to view this page |
|