Index: tst_treatment_saline_data/test.py =================================================================== diff -u -r20f71633acc71b9332335b30d882c45223e02c22 -r41a41434dd49aae846705cffee42ae5cce9be88e --- tst_treatment_saline_data/test.py (.../test.py) (revision 20f71633acc71b9332335b30d882c45223e02c22) +++ tst_treatment_saline_data/test.py (.../test.py) (revision 41a41434dd49aae846705cffee42ae5cce9be88e) @@ -100,7 +100,7 @@ # 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) - if (not accept_status): test.compare(findObject(names.o_treatment_notification_bar).text, config.REJECTION_REASON[rejection_reason], \ + if (not accept_status): test.compare(findObject(names.o_treatment_notification_rejection).text, config.REJECTION_REASON[rejection_reason], \ "expected rejection {msg} displayed".format(msg=config.REJECTION_REASON[rejection_reason])) #set saline transition state. @@ -123,7 +123,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) - rejection_message = findObject(names.o_treatment_notification_bar) + rejection_message = findObject(names.o_treatment_notification_rejection) test.compare(rejection_message.text, config.REJECTION_REASON[rejection], "expected rejection {msg} displayed".format(msg=config.REJECTION_REASON[rejection])) test.endSection()