cc_pin_length
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/cardgroups/new
waitForTextPresent New card group
type cardgroup_number_length 10
type cardgroup_pin_length 6
type cardgroup_name pavadinimas
clickAndWait commit
open /billing/cards/new?cg=3
waitForTextPresent Card group: pavadinimas
type start_number 0000000001
type end_number 0010000000
clickAndWait commit
waitForTextPresent PIN is too short for this interval. You can create maximum : 200000 cards
open /billing/cardgroups/new
waitForTextPresent New card group
type cardgroup_number_length 10
type cardgroup_pin_length 2
type cardgroup_name pavadinimas antras
clickAndWait commit
waitForTextPresent Card group was successfully created
verifyTextPresent ATTENTION! It is not safe to use PIN shorter than 6 symbols.
open /billing/cards/new?cg=4
type id=start_number 0000000001
type id=end_number 0000000055
clickAndWait name=commit
waitForTextPresent PIN is too short for this interval. You can create maximum : 20 cards
open /billing/cards/new?cg=4
type id=start_number 0000000056
type id=end_number 0000000012
clickAndWait name=commit
waitForTextPresent Bad interval start and/or end
open /billing/cards/new?cg=4
type id=start_number 0000000056
type id=end_number 0000000060
clickAndWait name=commit
waitForTextPresent Cards created: 5
open /billing/cards/new?cg=4
type id=start_number 0000000026
type id=end_number 0000000050
clickAndWait name=commit
waitForTextPresent PIN is too short for this interval. You can create maximum : 20 cards
open /billing/cards/new?cg=4
type id=start_number 0000000026
type id=end_number 0000000040
clickAndWait name=commit
waitForTextPresent Cards created: 15
open /billing/cards/list?cg=4
waitForTextPresent Cards: 20
open /billing/cardgroups/new
type id=cardgroup_name cctest1
type id=cardgroup_pin_length 40
clickAndWait commit
verifyTextPresent Pin length can be between 0 and 30
type id=cardgroup_pin_length 0
clickAndWait commit
verifyTextPresent ATTENTION! It is not safe to use PIN shorter than 6 symbols.
open /billing/cardgroups/new
type id=cardgroup_name cctest2
type id=cardgroup_pin_length -40
clickAndWait commit
verifyTextPresent Pin length can be between 0 and 30
type id=cardgroup_pin_length -20
clickAndWait commit
verifyTextPresent Pin length can be between 0 and 30
type id=cardgroup_pin_length 20.5
clickAndWait commit
waitForTextPresent Card group was successfully created
verifyText pin_length 20
open /billing/cardgroups/new
type id=cardgroup_name cctest3
type id=cardgroup_pin_length asd
clickAndWait commit
waitForTextPresent Card group was successfully created
waitForTextPresent ATTENTION! It is not safe to use PIN shorter than 6 symbols.
verifyText pin_length 0