Index: suite_leahi/shared/scripts/configuration/utility.py =================================================================== diff -u -r525a83f4f0a858c74d9b475e3760f1921ac1052f -r3632c7e3a8337b6cb6c8088bf5bce929118824ae --- suite_leahi/shared/scripts/configuration/utility.py (.../utility.py) (revision 525a83f4f0a858c74d9b475e3760f1921ac1052f) +++ suite_leahi/shared/scripts/configuration/utility.py (.../utility.py) (revision 3632c7e3a8337b6cb6c8088bf5bce929118824ae) @@ -214,6 +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) confirm_button = squish.waitForObjectExists(names.o_preTreatmentStack_confirmButton_ConfirmButton) squish.mouseClick(confirm_button) td.td_Treatment_Parameters_Validation( vAccepted = 1, Index: suite_leahi/shared/scripts/names.py =================================================================== diff -u -r525a83f4f0a858c74d9b475e3760f1921ac1052f -r3632c7e3a8337b6cb6c8088bf5bce929118824ae --- suite_leahi/shared/scripts/names.py (.../names.py) (revision 525a83f4f0a858c74d9b475e3760f1921ac1052f) +++ suite_leahi/shared/scripts/names.py (.../names.py) (revision 3632c7e3a8337b6cb6c8088bf5bce929118824ae) @@ -213,4 +213,5 @@ o_PreTreatmentCreate_acidConcentrateComboBox_BaseComboBox = {"container": o_preTreatmentStack_PreTreatmentCreate_PreTreatmentCreate, "id": "_acidConcentrateComboBox", "type": "BaseComboBox", "unnamed": 1 } o_PreTreatmentCreate_dialyzerTypeComboBox_BaseComboBox = {"container": o_preTreatmentStack_PreTreatmentCreate_PreTreatmentCreate, "id": "_dialyzerTypeComboBox", "type": "BaseComboBox", "unnamed": 1 } o_PreTreatmentCreate_bicarbonateConcentrateComboBox_BaseComboBox= {"container": o_preTreatmentStack_PreTreatmentCreate_PreTreatmentCreate, "id": "_bicarbonateConcentrateComboBox", "type": "BaseComboBox", "unnamed": 1 } -o_PreTreatmentCreate_treatmentModalityComboBox_BaseComboBox = {"container": o_preTreatmentStack_PreTreatmentCreate_PreTreatmentCreate, "id": "_treatmentModalityComboBox", "type": "BaseComboBox", "unnamed": 1 } \ No newline at end of file +o_PreTreatmentCreate_treatmentModalityComboBox_BaseComboBox = {"container": o_preTreatmentStack_PreTreatmentCreate_PreTreatmentCreate, "id": "_treatmentModalityComboBox", "type": "BaseComboBox", "unnamed": 1 } +o_PreTreatmentCreate_bpMeasurementIntervalControl_ValueAdjusterCustom = {"container": o_preTreatmentStack_PreTreatmentCreate_PreTreatmentCreate, "id": "_bpMeasurementIntervalControl", "type": "ValueAdjusterCustom", "unnamed": 1} Index: suite_leahi/tst_patient_vitals/test.py =================================================================== diff -u -r525a83f4f0a858c74d9b475e3760f1921ac1052f -r3632c7e3a8337b6cb6c8088bf5bce929118824ae --- suite_leahi/tst_patient_vitals/test.py (.../test.py) (revision 525a83f4f0a858c74d9b475e3760f1921ac1052f) +++ suite_leahi/tst_patient_vitals/test.py (.../test.py) (revision 3632c7e3a8337b6cb6c8088bf5bce929118824ae) @@ -193,15 +193,18 @@ vitalsrequest = True def verify_automatic_vitals_noRejection_Reason(): - - MAX_WAIT = 10 * 60 * 1000 # 5 minutes in seconds + # vitalsrequest = False + MAX_WAIT = 5 * 60 * 1000 # 5 minutes in seconds + + td.td_vitals_adjustment_response(vRejectionReason=0) - test.verify(waitFor( lambda: vitalsrequest == True, MAX_WAIT), "UI Sending the request to FW") + 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")) @@ -427,7 +430,7 @@ 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_confirm_button)) + mouseClick(waitForObject(names.o_vitals_close_btn)) test.endSection() test.startSection("Verify the vitals data send automatically populate on popup")