open |
/billing/callc/logout |
|
type |
login_username |
admin |
type |
login_psw |
admin1 |
clickAndWait |
commit |
|
verifyTextPresent |
Succesfully logged in |
|
open |
billing/providers/new |
|
type |
provider_name |
Test3 |
check |
add_to_servers[1] |
|
clickAndWait |
commit |
|
open |
/billing/lcrs/new |
|
type |
lcr_name |
Nau!@#jasLR(*&^C |
clickAndWait |
commit |
|
open |
/billing/lcrs/list |
|
verifyElementNotPresent |
//a[@id='lcr_make_tariff_2']/img |
|
open |
/billing/lcrs/providers_list/2 |
|
select |
select_prov |
label=Test Provider - IAX2/22.33.44.55 |
clickAndWait |
commit |
|
open |
/billing/lcrs/list |
|
verifyElementPresent |
//a[@id='lcr_make_tariff_2']/img |
|
open |
/billing/lcrs/providers_list/2 |
|
select |
select_prov |
label=Test3 - SIP/0.0.0.0 |
clickAndWait |
commit |
|
open |
/billing/lcrs/list |
|
waitForTextPresent |
Providers (2) |
|
waitForElementPresent |
//a[@id='lcr_make_tariff_2']/img |
|
open |
/billing/lcrs/make_tariff/2?&test=1 |
|
waitForTextPresent |
/tmp/Make_LCR_tariff-Nau___jasLR____C |
|
assertTextNotPresent |
rate_min: "0" |
|
assertTextNotPresent |
rate_max: "0" |
|
verifyTextNotPresent |
INTERNAL ERROR |
|
open |
/billing/functions/settings |
|
click |
css=#tabTabdhtmlgoodies_tabView1_9 > span |
|
waitForValue |
id=csv_file_size |
0 |
type |
id=csv_file_size |
200 |
click |
id=show_zero_rates_in_LCR_tariff_export |
|
clickAndWait |
name=commit |
|
waitForTextPresent |
Settings saved |
|
click |
css=#tabTabdhtmlgoodies_tabView1_9 > span |
|
waitForValue |
id=show_zero_rates_in_LCR_tariff_export |
on |
verifyValue |
id=csv_file_size |
200 |
open |
/billing/lcrs/make_tariff/2?&test=1 |
|
waitForTextPresent |
/tmp/Make_LCR_tariff-Nau___jasLR____C |
|
verifyTextPresent |
rate_max: "0" |
|
open |
/billing/functions/settings |
|
click |
css=#tabTabdhtmlgoodies_tabView1_9 > span |
|
waitForValue |
id=show_zero_rates_in_LCR_tariff_export |
on |
uncheck |
id=show_zero_rates_in_LCR_tariff_export |
|
waitForValue |
id=show_zero_rates_in_LCR_tariff_export |
off |
clickAndWait |
name=commit |
|
waitForTextPresent |
Settings saved |
|
open |
/billing/tariffs/ratedetail_edit/1 |
|
type |
id=ratedetail_rate |
15 |
clickAndWait |
name=commit |
|
waitForTextPresent |
Rate detail was successfully updated |
|
open |
/billing/tariffs/ratedetail_edit/6 |
|
type |
id=ratedetail_rate |
5 |
clickAndWait |
name=commit |
|
waitForTextPresent |
Rate detail was successfully updated |
|
clickAndWait |
link=Split to Work Days and Free Days |
|
waitForTextPresent |
For Free Days: |
|
waitForTextPresent |
For Work Days: |
|
open |
/billing/tariffs/ratedetail_edit/503 |
|
type |
id=ratedetail_end_time |
13:59:59 |
type |
id=ratedetail_rate |
8 |
waitForElementPresent |
css=img[alt="Information"] |
|
waitForTextPresent |
When changing "End time", "Rate" will be copied to both time intervals |
|
clickAndWait |
name=commit |
|
waitForTextPresent |
Rate detail was successfully updated |
|
open |
/billing/tariffs/ratedetail_edit/504 |
|
waitForValue |
id=ratedetail_rate |
8 |
type |
id=ratedetail_rate |
4 |
clickAndWait |
name=commit |
|
waitForTextPresent |
Rate detail was successfully updated |
|
open |
/billing/lcrs/make_tariff/2?&test=1 |
|
waitForTextPresent |
/tmp/Make_LCR_tariff-Nau___jasLR____C |
|
verifyTextPresent |
rate_max: "15" |
|
verifyTextPresent |
rate_min: "15" |
|
verifyTextPresent |
rate_max: "8" |
|
verifyTextPresent |
rate_min: "4" |
|
open |
/billing/functions/settings |
|
click |
css=#tabTabdhtmlgoodies_tabView1_9 > span |
|
type |
id=csv_file_size |
200 |
click |
id=show_zero_rates_in_LCR_tariff_export |
|
clickAndWait |
name=commit |
|
waitForTextPresent |
Settings saved |
|
open |
/billing/lcrs/make_tariff/2?&test=1 |
|
waitForTextPresent |
/tmp/Make_LCR_tariff-Nau___jasLR____C |
|
verifyTextPresent |
rate_max: "15" |
|
verifyTextPresent |
rate_min: "15" |
|
verifyTextPresent |
rate_max: "8" |
|
verifyTextPresent |
rate_min: "4" |
|
verifyTextPresent |
rate_max: "0" |
|