diff --git a/tests/enquirytests.rb b/tests/enquirytests.rb index 8f0f937..f700b2c 100644 --- a/tests/enquirytests.rb +++ b/tests/enquirytests.rb @@ -98,7 +98,7 @@ class Test_02_enquiry < Test::Unit::TestCase assert(@@ie.select_list(:id,'P32_LOAD_CONTROL_TYPE').exists?,'Could not find P32_LOAD_CONTROL_TYPE select list') assert(@@ie.select_list(:id,'P32_TWIN_STREAM_REQUIRED').exists?,'Could not find P32_TWIN_STREAM_REQUIRED select list') assert(@@ie.text_field(:id,'P32_JOB_DESCRIPTION').exists?,'Could not find P32_JOB_DESCRIPTION field') - assert(@@ie.text_field(:id,'P32_QMAX').exists?,'Could not find P32_QMAX field') + assert_equal(false,@@ie.text_field(:id,'P32_QMAX').exists?,'found P32_QMAX field') assert(@@ie.text_field(:id,'P32_QMIN').exists?,'Could not find P32_QMIN field') assert(@@ie.select_list(:id,'P32_METER_SIZE').exists?,'Could not find P32_METER_SIZE select list') assert(@@ie.select_list(:id,'P32_EXISTING_METY_CODE').exists?,'Could not find P32_METY_CODE select list') @@ -289,7 +289,7 @@ class Test_02_enquiry < Test::Unit::TestCase assert(@@ie.text_field(:id,'P32_OTHER_PROJECT_REFERENCE').exists?,'Could not find P32_OTHER_PROJECT_REFERENCE field') assert_equal(false,@@ie.select_list(:id,'P32_HOUSING_REQUIRED').exists?,'Found P32_HOUSING_REQUIRED select list') assert_equal(false,@@ie.select_list(:id,'P32_BASE_REQUIRED').exists?,'Found P32_BASE_REQUIRED select list') - assert_equal(false,@@ie.select_list(:id,'P32_CONVERTOR_REQUIRED').exists?,'Found P32_CONVERTOR_REQUIRED select list') + assert(@@ie.select_list(:id,'P32_CONVERTOR_REQUIRED').exists?,'Could not Find P32_CONVERTOR_REQUIRED select list') assert_equal(false,@@ie.select_list(:id,'P32_AMR_REQUIRED').exists?,'Found P32_AMR_REQUIRED select list') assert_equal(false,@@ie.select_list(:id,'P32_EMS_REQUIRED').exists?,'Found P32_EMS_REQUIRED select list') assert_equal(false,@@ie.select_list(:id,'P32_BYPASS_REQUIRED').exists?,'Found P32_BYPASS_REQUIRED select list')