updated login test to reflect new invalid login credentials error message
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3672 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
@@ -31,7 +31,7 @@ class Test_01_login_screen < Test::Unit::TestCase
|
||||
@@ie.text_field(:id,'P101_PASSWORD').set 'password'
|
||||
@@ie.button(:value,'Login').click
|
||||
@@ie.wait
|
||||
assert(@@ie.contains_text('User specified does not exist in the system.'),'User specified does not exist in the system.')
|
||||
assert(@@ie.contains_text('Invalid username/password specified.'),'User specified does not exist in the system.')
|
||||
# test that a valid password must be given
|
||||
@@ie.text_field(:id,'P101_USERNAME').set 'login_test'
|
||||
@@ie.text_field(:id,'P101_PASSWORD').set 'incorrect'
|
||||
|
||||
@@ -680,7 +680,7 @@ class Test_11_edit_parties< Test::Unit::TestCase
|
||||
@@ie.wait
|
||||
assert(@@ie.contains_text('Action Processed.'),'Party not updated correctly')
|
||||
|
||||
@@ie.link(:name,'Edit SuppAgent1').click
|
||||
@@ie.link(:name,'Edit SuppAgent1 ').click
|
||||
@@ie.wait
|
||||
@@ie.text_field(:id,'P66_TELEPHONE').set('01234 567809')
|
||||
@@ie.button(:value,'Apply Changes').click
|
||||
|
||||
Reference in New Issue
Block a user