directions_destinations
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/destinations/list/1
verifyTextPresent Afghanistan
open /billing/destinations/new/1
type destination_prefix 93
type destination_name testinis
clickAndWait commit
verifyTextPresent Destinations exists and belongs to Direction : Afghanistan
type destination_prefix 123
type destination_name testinis
clickAndWait commit
verifyTextPresent Destination was successfully created
open /billing/destinations/edit/20043?page=1
type destination_name testinis_
clickAndWait commit
verifyTextPresent Destination was successfully updated!
open /billing/destinations/destroy/20043
verifyTextNotPresent Destination deleted
verifyTextPresent Direction not found
open /billing/destinations/list/1
clickAndWait //img[@alt='Delete']
assertConfirmation Are you sure?
verifyTextPresent Destination deleted
open /billing/directions/new
type direction_name testinis
type direction_code 123
clickAndWait commit
verifyTextPresent Direction was successfully created
open /billing/directions/edit/256
type direction_code 1234
clickAndWait commit
verifyTextPresent Direction was successfully updated
waitForElementPresent link=Manual
clickAndWait destroy_img256
assertConfirmation Are you sure?
verifyTextPresent Direction : testinis deleted
open /billing/destination_groups/new
type dg_name testas
select dg[desttype] label=MOB
type dg_flag LT
clickAndWait commit
open /billing/destination_groups/edit/583
type dg_flag LV
clickAndWait commit
verifyTextPresent Destination group was succesfully updated
open /billing/destination_groups/list?st=T
clickAndWait destroy_img585
assertConfirmation Are you sure?
verifyTextPresent Destination group deleted: testas MOB
open /billing/destinations/new/1
type destination_prefix 123456
type destination_name testas
clickAndWait commit
open /billing/destination_groups/dg_new_destinations/1?st=A
click 123456
clickAndWait commit
verifyTextPresent Destinations added
clickAndWait //img[@alt='Delete']
assertConfirmation Are you sure?
verifyTextPresent Destination deleted
open /billing/destinations/new/123
type destination_prefix 3706304
type destination_name 32456
click destination[subcode]_mob
clickAndWait commit
verifyTextPresent Destination was successfully created
open /billing/functions/integrity_check
open /billing/destination_groups/destinations_to_dg
waitForElementPresent subcode20053_mob
assertChecked subcode20053_mob
verifyElementPresent subcode20052_fix
clickAndWait commit
verifyTextPresent Destinations updated
open /billing/destinations/new/1
clickAndWait commit
verifyTextPresent Destination not created
open /billing/destinations/create
verifyTextNotPresent INTERNAL ERROR
verifyTextPresent Direction not found
open /billing/destinations/new/1
type destination_prefix 333
type destination_name testinis
clickAndWait commit
open /billing/destinations/list/1
verifyTextPresent 333
verifyTextPresent Not assigned
open /billing/destination_groups/new
type dg_name testas
select dg[desttype] label=MOB
type dg_flag LT
clickAndWait commit
open /billing/destination_groups/dg_new_destinations/1?st=A
click 333
clickAndWait commit
verifyTextPresent Destinations added
open /billing/destinations/list/1
verifyTextPresent 333
verifyTextNotPresent Not assigned
verifyTextPresent Afghanistan FIX
open /billing/functions/settings
click //div[@name='visual']
type items_per_page 1
clickAndWait commit
open /billing/destinations/edit/7?page=4
verifyNotEditable destination_prefix
open /billing/destinations/list/1?page=4
verifyElementPresent xpath=//b/a[contains(child::text(), '4')]
verifyTextPresent 9320
clickAndWait //img[@alt='Delete']
assertConfirmation Are you sure?
verifyTextNotPresent 9320
verifyTextPresent Destination deleted
verifyElementPresent xpath=//b/a[contains(child::text(), '4')]
open /billing/destinations/list/1?page=18
verifyElementPresent xpath=//b/a[contains(child::text(), '18')]
clickAndWait //img[@alt='Delete']
assertConfirmation Are you sure?
verifyElementPresent xpath=//b/a[contains(child::text(), '17')]
open /billing/directions/new
type direction_name zzzzz
type direction_code +3789
clickAndWait commit
verifyTextPresent Destinations (0)
clickAndWait //a[contains(@href, '/billing/destinations/list/254')]
verifyElementNotPresent notice
open /billing/directions/list
click css=div.nb > a
type id=destination_prefix 234]4[1,2,3,4,5,6,7,8,9
clickAndWait xpath=(//input[@name='commit'])[2]
assertTextPresent Destination Group not found
open /billing/directions/list
click css=div.nb > a
type id=destination_prefix 234]4[1,2,3,4,5,6,7,8,9
clickAndWait name=commit
assertTextPresent Invalid Prefix
click css=div.nb > a
type id=prefix_bulk 234]4[1,2,3,4,5,6,7,8,9
clickAndWait xpath=(//input[@name='commit'])[2]
assertTextPresent Destination Group not found
open /billing/directions/list
click css=div.nb > a
type id=prefix_bulk 234]4[1,2,3,4,5,6,7,8,9
click id=destination_destinationgroup_id
select id=type label=NGN
waitForText css=option[value="4"] Albania MOB
select id=destination_destinationgroup_id label=Albania MOB
clickAndWait xpath=(//input[@name='commit'])[2]
assertTextPresent Invalid Prefix