Invalid logins always produce the 'invalid username/password'-style message rather than invalid credentials.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3736 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
hardya
2008-02-27 16:27:07 +00:00
parent 245a4adc53
commit 3b9390a8d6

View File

@@ -3,7 +3,7 @@
#---
class Test_01_login_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 base record
#
def test_01_login_screen_appears
@@ -37,7 +37,7 @@ class Test_01_login_screen < Test::Unit::TestCase
@@ie.text_field(:id,'P101_PASSWORD').set 'incorrect'
@@ie.button(:value,'Login').click
@@ie.wait
assert(@@ie.contains_text('Invalid Login Credentials'),'Valid password error message incorrect.')
assert(@@ie.contains_text('Invalid username/password specified.'),'Valid password error message incorrect.')
#@@ie.close
end