diff --git a/tests/constants.rb b/tests/constants.rb index 11d3c67..9d0c425 100644 --- a/tests/constants.rb +++ b/tests/constants.rb @@ -81,8 +81,8 @@ ADDRESSC=["SubBuilding C", "City C", "NN4 6CC"] #set working directory for uploading files etc. -#backup 2 directories -#Dir.chdir('..') +#backup 1 directory #Dir.chdir('..') +Dir.chdir('..') #we're in windows, so replace the forwards with the backs WORKINGDIR = Dir.getwd.to_s.gsub!('/','\\') \ No newline at end of file diff --git a/tests/housingtests.rb b/tests/housingtests.rb index a43f198..9e54c76 100644 --- a/tests/housingtests.rb +++ b/tests/housingtests.rb @@ -156,6 +156,7 @@ class Test_03_housings_screen < Test::Unit::TestCase assert(@@ie.button(:id, 'cancel').exists?,'The cancel button was not available') assert(@@ie.button(:id, 'delete').exists?,'The delete button was not available') assert(@@ie.button(:id, 'apply_changes').exists?,'The Apply Changes button was not available') + startClicker("OK", 1) @@ie.button(:id, 'delete').click @@ie.wait assert_nil(@@ie.contains_text('3811H'),'The housing code field did contain value 3811H')