fixed broken test, where the supplier admin user was told to goto a menu item it shouldn't of had access to
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3926 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
@@ -727,7 +727,6 @@ class Test_02_enquiry < Test::Unit::TestCase
|
|||||||
assert(@@ie.text_field(:id,'P101_PASSWORD').exists?,'Could not find P101_PASSWORD field '+geterrormess(@@ie))
|
assert(@@ie.text_field(:id,'P101_PASSWORD').exists?,'Could not find P101_PASSWORD field '+geterrormess(@@ie))
|
||||||
assert(@@ie.button(:id, 'P101_LOGIN').exists?,'Could not find a Login button')
|
assert(@@ie.button(:id, 'P101_LOGIN').exists?,'Could not find a Login button')
|
||||||
login(SA, SA_PWD)
|
login(SA, SA_PWD)
|
||||||
menu('Enquiries')
|
|
||||||
assert_nil(@@ie.contains_text('Create Enquiry'),'Create Enquiry menu option found when should have been hidden')
|
assert_nil(@@ie.contains_text('Create Enquiry'),'Create Enquiry menu option found when should have been hidden')
|
||||||
end
|
end
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user