Index: shared/scripts/configuration/utility.py =================================================================== diff -u -r549e92960cbce36d7be3fc981fd41d99bf73e016 -r8329a51c87e52328d6d8b58dd12b3c1aa7fcdc6f --- shared/scripts/configuration/utility.py (.../utility.py) (revision 549e92960cbce36d7be3fc981fd41d99bf73e016) +++ shared/scripts/configuration/utility.py (.../utility.py) (revision 8329a51c87e52328d6d8b58dd12b3c1aa7fcdc6f) @@ -46,7 +46,7 @@ try: counter += 1 test.log("Starting {}".format(app_name)) - squish.startApplication(config.Application_name) + squish.startApplication(app_name) if counter == 1: test.log(f"Application launched at the {counter}'st try.") elif counter == 2: @@ -55,7 +55,6 @@ test.log(f"Application launched at the {counter}'rd try.") else: test.log(f"Application launched at the {counter}'th try.") - squish.snooze(20) break except RuntimeError: if counter == 1: Index: tst_post/test.py =================================================================== diff -u -rbc82fc2b60dcc4c9744c1809077ffbffba338073 -r8329a51c87e52328d6d8b58dd12b3c1aa7fcdc6f --- tst_post/test.py (.../test.py) (revision bc82fc2b60dcc4c9744c1809077ffbffba338073) +++ tst_post/test.py (.../test.py) (revision 8329a51c87e52328d6d8b58dd12b3c1aa7fcdc6f) @@ -27,7 +27,7 @@ # from dialin.ui.hd_simulator_alarms import HDAlarmsSimulator MSGS_AND_CONDITIONS = { 5: [True, False], 10: [True, False], 2: [True, False], - 18: [True, True], 7: [False, True], + 3: [False, False], 18: [True, True], 7: [False, True], } assertion = AssertionHelper() @@ -94,14 +94,14 @@ done_indicator = waitForObject(names.done_indicator) test.compare(done_indicator.enabled, True, "Done, Final value passed") - elif (final_msg == False and final_msg_posted == True) \ - or (final_msg == False and final_msg_posted == False): + elif (final_msg == False and final_msg_posted == True) : if object.exists(names.fail_indicator): fail_indicator = waitForObject(names.fail_indicator) test.compare(fail_indicator.enabled, True, "Failed, Final value not passed") - elif (final_msg == True and final_msg_posted == False): + elif (final_msg == True and final_msg_posted == False)\ + or (final_msg == False and final_msg_posted == False): if object.exists(names.busy_indicator): busy_indicator = waitForObject(names.busy_indicator) @@ -116,5 +116,6 @@ hd.cmd_send_power_on_self_test_version_request() post_a_message_and_verify_progress_and_completion(MSGS_AND_CONDITIONS) - + snooze(2) + utils.tstDone()