Index: tst_treatment_saline_data/test.py =================================================================== diff -u -r42c5467c88dc4b1b8e0f4e71dc7dae23518d5679 -r3c60cffc290db12a5d7e05c116ee3712850d99ba --- tst_treatment_saline_data/test.py (.../test.py) (revision 42c5467c88dc4b1b8e0f4e71dc7dae23518d5679) +++ tst_treatment_saline_data/test.py (.../test.py) (revision 3c60cffc290db12a5d7e05c116ee3712850d99ba) @@ -96,14 +96,14 @@ rejection_reason = 0 # when rejected reason set 16 -> saline bolus in progress if (not accept_status): rejection_reason = rejectReason.REQUEST_REJECT_REASON_SALINE_BOLUS_IN_PROGRESS.value - hd_simulator.cmd_set_saline_bolus_response(accepted = accept_status, reason = rejection_reason, target = target, state = saline_states) + hd_simulator.cmd_set_saline_bolus_response(accepted = accept_status, reason = rejection_reason, target = target) if (not accept_status): test.compare(findObject(names.o_treatment_notification_bar).text, config.REJECTION_REASON[rejection_reason], \ "expected rejection {msg} displayed".format(msg=config.REJECTION_REASON[rejection_reason])) #set saline transition state. hd_simulator.cmd_set_treatment_states_data(sub_mode= 2, uf_state= 0, saline_state=saline_states, heparin_state= 0, rinseback_state= 0, recirculate_state= 0, blood_prime_state= 0, - treatment_end_state=0, treatment_stop_state= 0) + treatment_end_state=0, treatment_stop_state= 0, dialysis_state=0 ) test.compare(str(waitForObjectExists(names.o_treatmentStart_SalineSection).buttonText), "{} BOLUS".format(button_text)) verification_of_target_value(expected_target_value = target) @@ -119,7 +119,7 @@ """ test.startSection("verification of rejection messages on saline bolus") for rejection in range(1, config.NUM_OF_REQUEST_REJECT_REASONS): - hd_simulator.cmd_set_saline_bolus_response(accepted = accept_status, reason = rejection, target = target, state = saline_states) + hd_simulator.cmd_set_saline_bolus_response(accepted = accept_status, reason = rejection, target = target) rejection_message = findObject(names.o_treatment_notification_bar) test.compare(rejection_message.text, config.REJECTION_REASON[rejection], "expected rejection {msg} displayed".format(msg=config.REJECTION_REASON[rejection])) @@ -216,7 +216,7 @@ utils.tstStart(__file__) startApplication(config.AUT_NAME) - utils.waitForGUI(2) + utils.waitForGUI(1) #navigate to dialysis state hd_simulator.cmd_set_treatment_states_data(sub_mode= 2, uf_state= 0, saline_state=0, heparin_state= 0,