diff --git a/tests/housingtests.rb b/tests/housingtests.rb index dfc2420..bc9572c 100644 --- a/tests/housingtests.rb +++ b/tests/housingtests.rb @@ -3,7 +3,7 @@ #--- class Test_03_housings_screen < Test::Unit::TestCase # - #Test we can logon to the system using the webmip administrator user’s login credentials and check that + #Test we can logon to the system using the webmip administrator user�s login credentials and check that #all the columns required for the report appears with the button to create a new housing record # def test_01_housing_screen_appears @@ -14,9 +14,9 @@ class Test_03_housings_screen < Test::Unit::TestCase assert(@@ie.contains_text('Housing Code'),'The housing code column did not appear') assert(@@ie.contains_text('Housing Type'),'The housing type column did not appear') assert(@@ie.contains_text('Housing Description'),'The housing description column did not appear') - assert(@@ie.contains_text('Dimension L'),'The Dimension L column did not appear') - assert(@@ie.contains_text('Dimension W'),'The Dimension W column did not appear') - assert(@@ie.contains_text('Dimension H'),'The Dimension H column did not appear') + assert(@@ie.contains_text('Dim L'),'The Dim L column did not appear') + assert(@@ie.contains_text('Dim W'),'The Dim W column did not appear') + assert(@@ie.contains_text('Dim H'),'The Dim H column did not appear') assert(@@ie.contains_text('Weight'),'The drawing code column did not appear') assert(@@ie.contains_text('Drawing Code'),'The drawing code column did not appear') assert(@@ie.contains_text('Manufacturer'),'The manufacturer column did not appear') @@ -73,9 +73,9 @@ class Test_03_housings_screen < Test::Unit::TestCase assert(@@ie.contains_text('1766H'),'The new record with housing code 1766H did not appear') assert(@@ie.contains_text('LIFT OFF'),'The new record with housing type lift off did not appear') assert(@@ie.contains_text('Housing for meters'),'The description Housing for meters did not appear') - assert(@@ie.contains_text('3800'),'The value 3800 for Dimension L did not appear') - assert(@@ie.contains_text('1400'),'The value 1400 for Dimension W did not appear') - assert(@@ie.contains_text('2400'),'The value 2400 for Dimension H did not appear') + assert(@@ie.contains_text('3800'),'The value 3800 for Dim L did not appear') + assert(@@ie.contains_text('1400'),'The value 1400 for Dim W did not appear') + assert(@@ie.contains_text('2400'),'The value 2400 for Dim H did not appear') assert(@@ie.contains_text('400'),'The value 400 for weight did not appear') assert(@@ie.contains_text('WI'),'The new record with drawing code WI did not appear') assert(@@ie.contains_text('DRESSER'),'The new record with manufacturer dresser did not appear')