Index: suite_leahi/shared/scripts/configuration/utility.py =================================================================== diff -u -r3632c7e3a8337b6cb6c8088bf5bce929118824ae -rf8a8914a4e42e08237ba0603096e67e4bd1576c5 --- suite_leahi/shared/scripts/configuration/utility.py (.../utility.py) (revision 3632c7e3a8337b6cb6c8088bf5bce929118824ae) +++ suite_leahi/shared/scripts/configuration/utility.py (.../utility.py) (revision f8a8914a4e42e08237ba0603096e67e4bd1576c5) @@ -214,7 +214,7 @@ set_value_based_on_target(names.o_PreTreatmentCreate_bicarbonate_LabelUnitValueAdjuster, 35) set_value_based_on_target(names.o_PreTreatmentCreate_fluidBolusVolume_LabelUnitValueAdjuster,300) set_value_based_on_target(names.o_PreTreatmentCreate_primeRinsebackVolume_LabelUnitValueAdjuster,310) - set_value_based_on_target(names.o_PreTreatmentCreate_bpMeasurementIntervalControl_ValueAdjusterCustom,1) + set_value_based_on_target(names.o_PreTreatmentCreate_bpMeasurementIntervalControl_ValueAdjusterCustom,0) confirm_button = squish.waitForObjectExists(names.o_preTreatmentStack_confirmButton_ConfirmButton) squish.mouseClick(confirm_button) td.td_Treatment_Parameters_Validation( vAccepted = 1, Index: suite_leahi/tst_patient_vitals/test.py =================================================================== diff -u -r3632c7e3a8337b6cb6c8088bf5bce929118824ae -rf8a8914a4e42e08237ba0603096e67e4bd1576c5 --- suite_leahi/tst_patient_vitals/test.py (.../test.py) (revision 3632c7e3a8337b6cb6c8088bf5bce929118824ae) +++ suite_leahi/tst_patient_vitals/test.py (.../test.py) (revision f8a8914a4e42e08237ba0603096e67e4bd1576c5) @@ -195,17 +195,15 @@ def verify_automatic_vitals_noRejection_Reason(): # vitalsrequest = False - MAX_WAIT = 5 * 60 * 1000 # 5 minutes in seconds + MAX_WAIT = 6 * 60 * 1000 # 5 minutes in seconds - + test.verify(waitFor( lambda: vitalsrequest == True, MAX_WAIT), "UI Sending the request to FW") td.td_vitals_adjustment_response(vRejectionReason=0) td.td_vitals(systolic = 80, diastolic = 60, heartRate = 140 ) - - test.verify(waitFor( lambda: vitalsrequest == True, 3000), "UI Sending the request to FW") - + blood_pressure = waitForObjectExists(names.o_treatmentHome_bloodPressure_LabelValue).topText test.compare("80"+"/"+"60", blood_pressure,"Blood pressure value should be ->"+str("80"+"/"+"60")) heart_rate = waitForObjectExists(names.o_treatmentHome_heartBeat_LabelValue).topText @@ -429,8 +427,11 @@ #check the title text in the popup vitals_titleText = waitForObjectExists(names.o_vitals_Interval_TitleText).text test.compare("Vitals Interval", vitals_titleText, "Vitals Interval popup text should be ->"+str("Vitals Interval")) - set_value_based_on_target_patientvitals(names.o_bpMeasurementIntervalControl_ValueAdjusterCustom, 5) - mouseClick(waitForObject(names.o_vitals_close_btn)) + parent_obj = waitForObject(names.o_bpMeasurementIntervalControl_ValueAdjusterCustom) + vitals_interval = utility.findObjectById(parent_obj, "_rightArrow") + mouseClick(vitals_interval) + # set_value_based_on_target_patientvitals(names.o_bpMeasurementIntervalControl_ValueAdjusterCustom, 5) + mouseClick(waitForObject(names.o_confirm_button)) test.endSection() test.startSection("Verify the vitals data send automatically populate on popup")