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:
mullenm
2008-03-10 14:33:58 +00:00
parent f59e8591df
commit 4d01b9116b

View File

@@ -570,7 +570,7 @@ class Test_11_edit_parties< Test::Unit::TestCase
@@ie.wait
#check market participant fields
@@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
assert(@@ie.button(:value,'Cancel').exists?,'Could not find Cancel button(mktp fields)')
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
#check manufacturer fields
@@ie.select_list(:id,'P65_PRTY_TYPE').set('Manufacturer')
@@ie.link(:name,'Edit Manufacturer1 ').click
@@ie.link(:name,/Edit Manufacturer1/).click
@@ie.wait
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')
@@ -641,7 +641,7 @@ class Test_11_edit_parties< Test::Unit::TestCase
@@ie.select_list(:id,'P65_PRTY_TYPE').set('User')
@@ie.link(:text,/Next/).click
@@ie.wait
@@ie.link(:name,'Edit SuppAgent1 ').click
@@ie.link(:name,/Edit SuppAgent1/).click
@@ie.wait
@@ie.text_field(:id,'P66_TELEPHONE').set('01234 567899')
@@ie.button(:value,'Apply Changes').click
@@ -682,7 +682,7 @@ class Test_11_edit_parties< Test::Unit::TestCase
@@ie.wait
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.text_field(:id,'P66_TELEPHONE').set('01234 567809')
@@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...
@@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
@@ie.button(:value,'Add Address').click
@@ie.text_field(:id,'P69_ADDR_CODE').set('SU1_OFFICE2')