updated tests after data fix on test_build, also set up for integration test

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3469 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
PriestJ
2008-02-05 16:03:47 +00:00
parent 03a83d6f21
commit 78ba3ccab8

View File

@@ -694,7 +694,7 @@ class Test_02_enquiry < Test::Unit::TestCase
#
#Supplier admin should be unable to create an enquiry via the menu.
#
def test_22_logout_and_then_in_as supplier_admin
def test_22_logout_and_then_in_as_supplier_admin
menu('Logout')
assert(@@ie.button(:value, 'Login').exists?,'The Login button was not available')
@@ie.button(:value, 'Login').click
@@ -839,7 +839,11 @@ class Test_02_enquiry < Test::Unit::TestCase
assert(@@ie.contains_text('Contact Details'),'The Contact Details region not found')
assert(@@ie.contains_text('Job Info'),'The Job Info region not found')
assert_equal(@@savedenquiryid,@@ie.text_field(:id,'P32_ID').value,' Enquiry screen for'+@@savedenquiryid+' not found')
assert_equal(false,@@ie.text_field(:id,'P32_ACCESS_PASSWORD').assert_not_readonly,'Password field is not read only, it should be!')
assert(@@ie.hidden(:id,'P32_ACCESS_PASSWORD').exists?,'Password field is not read only, it should be!')
menu('Logout')
assert(@@ie.button(:value, 'Login').exists?,'The Login button was not available')
@@ie.button(:value, 'Login').click
@@ie.wait
end
#Check asterisk on correct fields
#Amend an existing enquiry