forgot to add minor change in module tests
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@6166 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
#---
|
#---
|
||||||
class Test_08_modules_screen < Test::Unit::TestCase
|
class Test_08_modules_screen < Test::Unit::TestCase
|
||||||
#
|
#
|
||||||
#Test we can logon to the system using the webmip administrator user<65>s login credentials and check that
|
#Test we can logon to the system using the webmip administrator user<65>s login credentials and check that
|
||||||
#all the columns required for the report appears with the button to create a new module record
|
#all the columns required for the report appears with the button to create a new module record
|
||||||
#
|
#
|
||||||
def test_01_module_screen_appears
|
def test_01_module_screen_appears
|
||||||
@@ -145,7 +145,7 @@ class Test_08_modules_screen < Test::Unit::TestCase
|
|||||||
@@ie.link(:text, 'AR10266H').click
|
@@ie.link(:text, 'AR10266H').click
|
||||||
@@ie.wait
|
@@ie.wait
|
||||||
assert(@@ie.contains_text('Create/Edit Module'),'The Create/Edit Module screen did not appear')
|
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.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_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')
|
#~ assert(@@ie.select_list(:id, 'P57_REGU_CODE').selected?('Not Assigned'), 'The regulator code is not Not Assigned')
|
||||||
|
|||||||
Reference in New Issue
Block a user