I'm getting annoyed with this test now. I may just delete it if it keeps pissing us about. F@$%*^g testing....
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3909 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
@@ -570,7 +570,7 @@ class Test_11_edit_parties< Test::Unit::TestCase
|
|||||||
@@ie.wait
|
@@ie.wait
|
||||||
#check market participant fields
|
#check market participant fields
|
||||||
@@ie.select_list(:id,'P65_PRTY_TYPE').set('Market Participant')
|
@@ie.select_list(:id,'P65_PRTY_TYPE').set('Market Participant')
|
||||||
@@ie.link(:name,'Edit Supplier SU1').click
|
@@ie.link(:name,/Edit Supplier SU1/).click
|
||||||
@@ie.wait
|
@@ie.wait
|
||||||
assert(@@ie.button(:value,'Cancel').exists?,'Could not find Cancel button(mktp fields)')
|
assert(@@ie.button(:value,'Cancel').exists?,'Could not find Cancel button(mktp fields)')
|
||||||
assert(@@ie.button(:value,'Delete').exists?,'Could not find Delete button')
|
assert(@@ie.button(:value,'Delete').exists?,'Could not find Delete button')
|
||||||
@@ -591,7 +591,7 @@ class Test_11_edit_parties< Test::Unit::TestCase
|
|||||||
@@ie.wait
|
@@ie.wait
|
||||||
#check manufacturer fields
|
#check manufacturer fields
|
||||||
@@ie.select_list(:id,'P65_PRTY_TYPE').set('Manufacturer')
|
@@ie.select_list(:id,'P65_PRTY_TYPE').set('Manufacturer')
|
||||||
@@ie.link(:name,'Edit Manufacturer1 ').click
|
@@ie.link(:name,/Edit Manufacturer1/).click
|
||||||
@@ie.wait
|
@@ie.wait
|
||||||
assert(@@ie.button(:value,'Cancel').exists?,'Could not find Cancel button(manu fields)')
|
assert(@@ie.button(:value,'Cancel').exists?,'Could not find Cancel button(manu fields)')
|
||||||
assert(@@ie.button(:value,'Apply Changes').exists?,'Could not find Apply Changes button')
|
assert(@@ie.button(:value,'Apply Changes').exists?,'Could not find Apply Changes button')
|
||||||
@@ -641,7 +641,7 @@ class Test_11_edit_parties< Test::Unit::TestCase
|
|||||||
@@ie.select_list(:id,'P65_PRTY_TYPE').set('User')
|
@@ie.select_list(:id,'P65_PRTY_TYPE').set('User')
|
||||||
@@ie.link(:text,/Next/).click
|
@@ie.link(:text,/Next/).click
|
||||||
@@ie.wait
|
@@ie.wait
|
||||||
@@ie.link(:name,'Edit SuppAgent1 ').click
|
@@ie.link(:name,/Edit SuppAgent1/).click
|
||||||
@@ie.wait
|
@@ie.wait
|
||||||
@@ie.text_field(:id,'P66_TELEPHONE').set('01234 567899')
|
@@ie.text_field(:id,'P66_TELEPHONE').set('01234 567899')
|
||||||
@@ie.button(:value,'Apply Changes').click
|
@@ie.button(:value,'Apply Changes').click
|
||||||
@@ -682,7 +682,7 @@ class Test_11_edit_parties< Test::Unit::TestCase
|
|||||||
@@ie.wait
|
@@ie.wait
|
||||||
assert(@@ie.contains_text('Action Processed.'),'Party not updated correctly')
|
assert(@@ie.contains_text('Action Processed.'),'Party not updated correctly')
|
||||||
|
|
||||||
@@ie.link(:name,'Edit SuppAgent1 ').click
|
@@ie.link(:name,/Edit SuppAgent1/).click
|
||||||
@@ie.wait
|
@@ie.wait
|
||||||
@@ie.text_field(:id,'P66_TELEPHONE').set('01234 567809')
|
@@ie.text_field(:id,'P66_TELEPHONE').set('01234 567809')
|
||||||
@@ie.button(:value,'Apply Changes').click
|
@@ie.button(:value,'Apply Changes').click
|
||||||
@@ -702,7 +702,7 @@ class Test_11_edit_parties< Test::Unit::TestCase
|
|||||||
|
|
||||||
#edit a supplier, the one created above for ease...
|
#edit a supplier, the one created above for ease...
|
||||||
@@ie.select_list(:id,'P65_PRTY_TYPE').set('Market Participant')
|
@@ie.select_list(:id,'P65_PRTY_TYPE').set('Market Participant')
|
||||||
@@ie.link(:name,'Edit Supplier1 SU1').click
|
@@ie.link(:name,/Edit Supplier1 SU1/).click
|
||||||
#add an address
|
#add an address
|
||||||
@@ie.button(:value,'Add Address').click
|
@@ie.button(:value,'Add Address').click
|
||||||
@@ie.text_field(:id,'P69_ADDR_CODE').set('SU1_OFFICE2')
|
@@ie.text_field(:id,'P69_ADDR_CODE').set('SU1_OFFICE2')
|
||||||
|
|||||||
Reference in New Issue
Block a user