From 3b9390a8d69e3d78d2964ba17ddfa44ae8a30164 Mon Sep 17 00:00:00 2001 From: hardya Date: Wed, 27 Feb 2008 16:27:07 +0000 Subject: [PATCH] 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 --- tests/login_tests.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/login_tests.rb b/tests/login_tests.rb index a84e222..9bf16d3 100644 --- a/tests/login_tests.rb +++ b/tests/login_tests.rb @@ -3,7 +3,7 @@ #--- class Test_01_login_screen < Test::Unit::TestCase # - #Test we can logon to the system using the webmip administrator user’s login credentials and check that + #Test we can logon to the system using the webmip administrator user�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