Index: shared/scripts/configuration/config.py =================================================================== diff -u -r427a179e77bffa5f5beb1840df6ea7e6614e8787 -r5474d0f383ce117c0112047419bcab01991fedaa --- shared/scripts/configuration/config.py (.../config.py) (revision 427a179e77bffa5f5beb1840df6ea7e6614e8787) +++ shared/scripts/configuration/config.py (.../config.py) (revision 5474d0f383ce117c0112047419bcab01991fedaa) @@ -234,4 +234,6 @@ 3 : "Connect arterial and venous cartridge lines to your patient access lines." } -PRE_TREATMENT_SCREENS = ["Create" , "Sample" , "Consumables" , "Disposables" , "Prime" , "Ultrafiltration" , "BP/HR" , "Connection" , "Start"] \ No newline at end of file +PRE_TREATMENT_SCREENS = ["Create" , "Sample" , "Consumables" , "Disposables" , "Prime" , "Ultrafiltration" , "BP/HR" , "Connection" , "Start"] + +VISIBLE = True \ No newline at end of file Index: tst_main_treatment_vitals/test.py =================================================================== diff -u -r82fd0a371523a464e2f53ac5a0b658ead77be235 -r5474d0f383ce117c0112047419bcab01991fedaa --- tst_main_treatment_vitals/test.py (.../test.py) (revision 82fd0a371523a464e2f53ac5a0b658ead77be235) +++ tst_main_treatment_vitals/test.py (.../test.py) (revision 5474d0f383ce117c0112047419bcab01991fedaa) @@ -658,6 +658,7 @@ rinseback_state= 0, recirculate_state= 0, blood_prime_state= 0, treatment_end_state=0, treatment_stop_state= 0, dialysis_state=0) mouseClick(waitForObject(names.o_vitals_close_btn)) + utils.waitForGUI(1) verify_vitals_pop_up_is_opened_automatically_after_an_interval(interval=5) test.endSection() @@ -711,7 +712,7 @@ is closed automatically after 1 min """ test.startSection("Verify the vitals pop up closed automatically after 1 min") - sec = 60 + sec = 70 start_time = open_vitals_pop_up() time.sleep(sec) bp_uom = waitForObject(names.o_bp_uom) @@ -732,11 +733,11 @@ sec = interval*60 start_time = time.time() utils.waitForGUI(sec) - confirm_btn = waitForObjectExists(names.o_confirm_button) + close_btn = waitForObject(names.o_vitals_close_btn) end_time = time.time() total_elapsed_time = end_time - start_time test.log("Total elapsed time : {}".format(total_elapsed_time)) - test.compare(confirm_btn.visible, VISIBLE, "Confirm Button should be visible after the vitals pop up is opened automatically") + test.compare(close_btn.visible, VISIBLE, "Dialog close button should be visible after the vitals pop up is opened automatically") test.endSection() def main(): @@ -754,7 +755,6 @@ min_dialysate_flow_rate=100, max_dialysate_flow_rate=600) verify_vitals_pop_up_automatic_close_functionality() - utils.waitForGUI(1) utils.waitForGUI(1) open_vitals_pop_up()