From a43a3c43b9377b30dba1c74aadc68ad045ba8961 Mon Sep 17 00:00:00 2001 From: mullenm Date: Fri, 7 Mar 2008 10:57:36 +0000 Subject: [PATCH] Made corrections on the login screens. Now accepts the Ts&Cs correctly in the right places. git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3884 248e525c-4dfb-0310-94bc-949c084e9493 --- tests/login_tests.rb | 1 - tests/user_management.rb | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/login_tests.rb b/tests/login_tests.rb index e4b5f38..58668a6 100644 --- a/tests/login_tests.rb +++ b/tests/login_tests.rb @@ -93,7 +93,6 @@ class Test_01_login_screen < Test::Unit::TestCase #fill in some new password details - make sure that we follow security protocol for passwords... @@ie.text_field(:id,'P102_NEW_PASSWORD').set 'P4ssw0rd.' @@ie.text_field(:id,'P102_REPEAT_PASSWORD').set 'P4ssw0rd.' - @@ie.radio( :id,'P101_TC_ACCEPTED_0').set #'I accept the Terms and Conditions of using this site' @@ie.button(:value,'Change Password').click @@ie.wait #confirm the password was updated correctly diff --git a/tests/user_management.rb b/tests/user_management.rb index fdfd8bc..ded7174 100644 --- a/tests/user_management.rb +++ b/tests/user_management.rb @@ -639,7 +639,7 @@ class Test_11_edit_parties< Test::Unit::TestCase #edit a different user #@@ie.goto(EDIT_PARTIES) @@ie.select_list(:id,'P65_PRTY_TYPE').set('User') - @@ie.link(:name,'Edit SuppAgent1').click + @@ie.link(:name,'Edit SuppAgent1 ').click @@ie.wait @@ie.text_field(:id,'P66_TELEPHONE').set('01234 567899') @@ie.button(:value,'Apply Changes').click