altered create user test 01/10 as it now defaults to the user role when you log in as a supplier admin. It now just checks that the work 'User' is displayed as read only text.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@6160 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
@@ -491,8 +491,9 @@ class Test_10_SUPPADMIN_party_management< Test::Unit::TestCase
|
|||||||
menu('Create Party')
|
menu('Create Party')
|
||||||
|
|
||||||
#select the type of party to create
|
#select the type of party to create
|
||||||
@@ie.select_list(:id,'P61_PRTY_TYPE').set('User')
|
#@@ie.select_list(:id,'P61_PRTY_TYPE').set('User')
|
||||||
|
#this now should default to the 'User' role so search for that instead
|
||||||
|
assert(@@ie.contains_text('User'),'Could not find default User role type display text')
|
||||||
# set the field values
|
# set the field values
|
||||||
#@@ie.text_field(:id,'').set('')
|
#@@ie.text_field(:id,'').set('')
|
||||||
@@ie.text_field(:id,'P61_USERNAME').set('SuppAgent2')
|
@@ie.text_field(:id,'P61_USERNAME').set('SuppAgent2')
|
||||||
|
|||||||
Reference in New Issue
Block a user