Index: suite_leahi/tst_general_alarm_requirements_instruction/test.py =================================================================== diff -u -r3077f8ad57d86a83814a8fe050182f82a61165a7 -rf76dd433d5475331775ab0a0a42c530e0d46d521 --- suite_leahi/tst_general_alarm_requirements_instruction/test.py (.../test.py) (revision 3077f8ad57d86a83814a8fe050182f82a61165a7) +++ suite_leahi/tst_general_alarm_requirements_instruction/test.py (.../test.py) (revision f76dd433d5475331775ab0a0a42c530e0d46d521) @@ -1,5 +1,5 @@ # Subject/Title: LDT-1802 General Alarm Requirements - SW - 02 - Instructions with new design - Q&R -# and LDT-3848 SW Misc & Enhc - SW - 02 - Stop State - Q&R +# and LDT-3848 SW Misc & Enhc - SW - 02 - Stop State - Q&R and LDT-3869 SW Misc & Enhc - SW - 02 - General Alarm - Temporary Break - Q&R # # Functionalities: Testing all items of General Alarm Requirements # @@ -24,6 +24,7 @@ # 8 Compare Number of Alarms displayed and Alarm IDs # 9 Compare of Alarm Reject Notification Text # 10 Verification Alarm Blood Stop Countdown Compare Description text, Minutes and Seconds +# 11 Simulate Alarm and Compare Alarm Temporary Button visible import names import re @@ -404,6 +405,26 @@ test.endSection() +def verify_alarm_temporary_break_button(): + """ + Method to verify Temproary Break button + @param N/A + @output N/A + """ + test.startSection("Verification of Temproary Break button") + + flag_status = alarm_flags["no_rinseback"] + alarm.cmd_activate_alarm_id(1, 1, 0, flags=flag_status) + temporary_break_button = waitForObjectExists(names.o_Alarm_temporaryBreak_Button) + if temporary_break_button.visible == True: + mouseClick(temporary_break_button) + test.compare( + waitForObjectExists(names.o_Alarm_temporaryBreak_Button, 2000).visible, + True, + "Alarm Temporary Break Button visible", + ) + + def main(): utils.tstStart(__file__) @@ -412,5 +433,6 @@ verification_of_alarm_flag() test_send_active_list_response_batch_alarms() verify_alarm_blood_stop_countdown() + verify_alarm_temporary_break_button() utils.tstDone()