Index: suite_leahi/tst_solution_infusion/test.py
===================================================================
diff -u -r27ae7dca3c68d5c05f14db44bc5fc9ab69dcdb59 -r0e7de4782caa04625d499efc5b8f913e6f352d80
--- suite_leahi/tst_solution_infusion/test.py (.../test.py) (revision 27ae7dca3c68d5c05f14db44bc5fc9ab69dcdb59)
+++ suite_leahi/tst_solution_infusion/test.py (.../test.py) (revision 0e7de4782caa04625d499efc5b8f913e6f352d80)
@@ -45,13 +45,14 @@
test.verify(waitForObjectExists(names.mainTreatmentScreen), "In Main Treatment")
# verify saline text
- salineTextObj = waitForObject(names.totalSalineDelivered_Text)
+ salineTextObj = waitForObject(names.salineDeliveredText)
test.compare(salineTextObj.text, "Total Saline Delivered")
# verify send start bolus req message
mouseClick(waitForObject(names.startFluidButton))
test.verify(waitFor("'salineBolusStartState == 1'", 5000))
+ # change state to in progress
td_interface.td_tx_state(
TDTreatmentStates.TREATMENT_DIALYSIS_STATE.value ,
0 ,
@@ -70,8 +71,7 @@
test.compare(treatmentSaline.isStarted, True)
# verify text
- salineDeliveryTextObj = waitForObject(names.deliveringSaline_Text)
- test.compare(salineDeliveryTextObj.text, "Delivering Saline")
+ test.compare(salineTextObj.text, "Delivering Saline")
# verify saline data
bolusValueInTest = 75
@@ -94,6 +94,7 @@
mouseClick(waitForObject(names.startFluidButton))
test.verify(waitFor("'salineBolusStartState == 0'", 5000))
+ # change state to idle
td_interface.td_tx_state(
TDTreatmentStates.TREATMENT_DIALYSIS_STATE.value ,
0 ,