altered tesst after updaing watir on loordv01, watir is now more strict when it comes to finding tags, you can't say,"find a text_field" and it will find the radio button version for you.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@6165 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
PriestJ
2008-08-07 14:46:02 +00:00
parent 793a9b49a1
commit 2bc6594e0d
5 changed files with 31 additions and 30 deletions

View File

@@ -111,7 +111,7 @@ class Test_03_housings_screen < Test::Unit::TestCase
@@ie.link(:text, '1766H').click
@@ie.wait
assert(@@ie.contains_text('Create/Edit Housings'),'The Create/Edit Housings screen did not appear')
assert(@@ie.text_field(:id, 'P55_CODE').verify_contains('1766H'), 'The housing code field did not contain value 1765H')
assert(@@ie.contains_text('1766H'), 'The housing code field did not contain value 1765H')
#assert_equal(@@ie.select_list(:id, 'P55_HOTY_CODE').getAllContents, ['Lift Off', 'Unknown Housing Type - inserted for bulk load', 'Walk In', 'Walk Through'], 'Not all values found in Housing type Select list')
assert(@@ie.select_list(:id, 'P55_HOTY_CODE').selected?('Lift Off'), 'The housing type is not LIFT OFF')
assert(@@ie.text_field(:id, 'P55_DESCRIPTION').verify_contains('Housing for meters'), 'The description is not housing for meters')