Index: tst_recirculate/test.py =================================================================== diff -u -r84c1284ecff1f30169d50afb688be18934eb8506 -r06fda637e04ce27ea414ba8ad06af92c4b76d788 --- tst_recirculate/test.py (.../test.py) (revision 84c1284ecff1f30169d50afb688be18934eb8506) +++ tst_recirculate/test.py (.../test.py) (revision 06fda637e04ce27ea414ba8ad06af92c4b76d788) @@ -28,7 +28,7 @@ COUNT_DOWN_VALUE = 121 TIMER_DEFAULT_VALUE = 1 -NUM_OF_INSTRUCTION = 3 +NUM_OF_INSTRUCTION = 1 def verify_recirculate_recirculate_state(): """ @@ -80,15 +80,15 @@ test.compare(str(waitForObject(names.o_EndTreatmentBase_TimeText_minute_Text).text), str(sec),"Verifying seconds on Timer in recirculate stopped state") test.compare(str(waitForObject(names.o_EndTreatmentBase_TimeText_hour_Text).text), str(min),"Verifying minutes on Timer in recirculate stopped state") test.endSection() - test.compare(str(waitForObject(names.o_EndTreatmentBase_Reconnect_Text).text), config.RECONNECT_TEXT, "Reconnect text must be {}".format(config.RECONNECT_TEXT)) + test.compare(str(waitForObject(names.o_EndTreatmentBase_ReturnToRecirculate_Text).text), config.RETURN_TO_RECIRCULATE, "Reconnect text must be {}".format(config.RETURN_TO_RECIRCULATE)) test.compare(str(waitForObjectExists(names.o_EndTreatmentBase_BACK_TO_RECIRCULATE_Text).text), config.BACK_TO_RECIRCULATE_TEXT, "Back to recirculate button text must be {}".format(config.BACK_TO_RECIRCULATE_TEXT)) test.verify(waitForObjectExists(names.o_EndTreatmentBase_BACK_TO_RECIRCULATE_Text).enabled, "Back to recirculate button must be active") mouseClick(waitForObject(names.o_EndTreatmentBase_mouseArea_MouseArea_2)) test.compare(str(waitForObjectExists(names.o_EndTreatmentBase_END_TREATMENT_Text).text), config.END_TREATMENT_BUTTON_TEXT, "End Treatment button text must be {}".format(config.END_TREATMENT_BUTTON_TEXT)) test.verify(waitForObjectExists(names.o_EndTreatmentBase_END_TREATMENT_Text).enabled, "End Treatment button on recirculate stopped state screen must be active") mouseClick(waitForObject(names.o_EndTreatmentBase_mouseArea_MouseArea)) test.verify(waitForObjectExists(names.o_EndTreatmentBase_confirm_Text).enabled, "Confirm button on recirculate stopped state screen must be active") - mouseClick(waitForObject(names.o_EndTreatmentBase_mouseArea_MouseArea_3)) + mouseClick(waitForObject(names.o_EndTreatmentBase_ButtonEndTreatment)) verify_rejection_messages_for_recirculate() test.endSection()