From 233b913c61459cfe22798d11abed64325db96eee Mon Sep 17 00:00:00 2001 From: PriestJ Date: Thu, 7 Aug 2008 14:47:38 +0000 Subject: [PATCH] forgot to add minor change in module tests git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@6166 248e525c-4dfb-0310-94bc-949c084e9493 --- tests/moduletests.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/moduletests.rb b/tests/moduletests.rb index 5b6f0de..91a47ec 100644 --- a/tests/moduletests.rb +++ b/tests/moduletests.rb @@ -3,7 +3,7 @@ #--- class Test_08_modules_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 module record # def test_01_module_screen_appears @@ -145,7 +145,7 @@ class Test_08_modules_screen < Test::Unit::TestCase @@ie.link(:text, 'AR10266H').click @@ie.wait assert(@@ie.contains_text('Create/Edit Module'),'The Create/Edit Module screen did not appear') - assert(@@ie.text_field(:id, 'P57_CODE').verify_contains('AR10266H'), 'The module code is not AR10266H') + assert(@@ie.contains_text('AR10266H'), 'The module code is not AR10266H') #~ assert(@@ie.text_field(:id, 'P57_METR_CODE').verify_contains('MRD1600B4F'), 'The meter code is not MRD1600B4F') #~ assert(@@ie.select_list(:id, 'P57_FLTR_CODE').selected?('Not Assigned'), 'The filter code is not Not Assigned') #~ assert(@@ie.select_list(:id, 'P57_REGU_CODE').selected?('Not Assigned'), 'The regulator code is not Not Assigned')