Index: suite_leahi/tst_general_alarm_requirements_instruction/test.py =================================================================== diff -u -r95e4941e40bc1845970836c162e137701653dc3e -r1625d44158c6fdd2d96bf8b8be8803504e04b3bc --- suite_leahi/tst_general_alarm_requirements_instruction/test.py (.../test.py) (revision 95e4941e40bc1845970836c162e137701653dc3e) +++ suite_leahi/tst_general_alarm_requirements_instruction/test.py (.../test.py) (revision 1625d44158c6fdd2d96bf8b8be8803504e04b3bc) @@ -4,25 +4,25 @@ # # Steps: # 1 Start Leahi Application -# 2 Trigger an alarm and Click Alarm list icon to navigate to Alarm list screen -# 3 Generate alarms in batches of 10 from 1 to 160 -# 4 Compare Number of Alarms displayed and Alarm IDs -# 5 Compare of Alarm Reject Notification Text -# 6 Set and Compare Alarm Mute condition and timeouts - Compare Timeout delay for alarm, +# 2 Set and Compare Alarm Mute condition and timeouts - Compare Timeout delay for alarm, # Compare Mute minutes button is visible, Compare Mute seconds button is visible, -# Compare of Alarm BellOff, Compare Mute Minutes, Mute seconds, Compare Alarm BellOff After minimized, -# Compare Mute Minutes After minimized and Compare Mute seconds After minimized -# 7 Set and Compare Alarm UnMute condition and timeouts - Compare Timeout delay for alarm, +# Compare of Alarm BellOff, Compare Mute Minutes, Mute seconds, +# Compare Alarm BellOff After minimized, Compare Mute Minutes After minimized and +# Compare Mute seconds After minimized +# 3 Set and Compare Alarm UnMute condition and timeouts - Compare Timeout delay for alarm, # Compare Mute minutes button is visible, Compare Mute seconds button is visible, # Compare of Alarm BellOn, Compare Alarm BellOn After minimized, # Compare Mute Minutes After minimized and Compare Mute seconds After minimized -# 8 Set and Compare Alarm Dialog box color based on alarm priority +# 4 Set and Compare Alarm Dialog box color based on alarm priority # Compare of Alarm TitleBar Color, Compare of Alarm Bar Color After Alarm minimized -# 9 Simulate Ok Button and Compare Alarm Ok Button visible, Compare Alarm Resume Button visible -# Compare Alarm RIneback Button visible, Compare Alarm End Treatment Button visible, +# 5 Simulate Ok Button and Compare Alarm Ok Button visible, Compare Alarm Resume Button visible +# Compare Alarm Rinseback Button visible, Compare Alarm End Treatment Button visible, # Compare Alarm Mute Silenced visible, Compare Minimize Button not visible +# 6 Trigger an alarm and Click Alarm list icon to navigate to Alarm list screen +# 7 Generate alarms in batches of 10 from 1 to 160 +# 8 Compare Number of Alarms displayed and Alarm IDs +# 9 Compare of Alarm Reject Notification Text - import names import re from leahi_dialin.ui import utils @@ -202,12 +202,12 @@ test.compare( waitForObjectExists(names.o_AlarmButton_Mute_Min, 2000).visible, muted, - "Mute minutes button is visible", + "Mute minutes is visible", ) test.compare( waitForObjectExists(names.o_AlarmButton_Mute_Sec, 2000).visible, muted, - "Mute seconds button is visible", + "Mute seconds is visible", ) muteTimeout_min, muteTimeout_sec = divmod(alarm_timeout, 60)