From 4d9648a6431ae630f16c7bdf6b01aa43929a3121 Mon Sep 17 00:00:00 2001 From: PriestJ Date: Thu, 7 Aug 2008 13:46:36 +0000 Subject: [PATCH] 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 --- tests/user_management.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/user_management.rb b/tests/user_management.rb index 25547c3..8430b16 100644 --- a/tests/user_management.rb +++ b/tests/user_management.rb @@ -491,8 +491,9 @@ class Test_10_SUPPADMIN_party_management< Test::Unit::TestCase menu('Create Party') #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 #@@ie.text_field(:id,'').set('') @@ie.text_field(:id,'P61_USERNAME').set('SuppAgent2')