Index: suite_leahi/tst_pre_treatment_foundation/test.py =================================================================== diff -u -r67e27d13523c842962c2ab6ace6f2ca9a07eef06 -rb6f1d1073ca5e4d3e878a1f79bf38b5f3633b31c --- suite_leahi/tst_pre_treatment_foundation/test.py (.../test.py) (revision 67e27d13523c842962c2ab6ace6f2ca9a07eef06) +++ suite_leahi/tst_pre_treatment_foundation/test.py (.../test.py) (revision b6f1d1073ca5e4d3e878a1f79bf38b5f3633b31c) @@ -135,25 +135,11 @@ ) -def verify_start_rejection(): +def verify_start_treatment_request(): click_text(None, config.START) test.verify( waitFor("'startTreatment == 1'", 3000), "Testing UI -> TD message Auto Load" ) - send_start_treatment_response(1) - notification = waitForObject( - utility.setObjectText( - names.o_preTreatmentStack_Text, - config.START_TREATMENT_REJECTION_NOTIFICATION, - ), - 3000, - ) - digit = re.sub(r"^.*?\[(\d+)\].*$", r"\1", str(notification.text)) - if digit: - test.compare( - 1, int(float(digit)), f"Rejection reason number comparison for reason {1}" - ) - test.log(f"Rejection reason text is {notification.text}") def main(): @@ -270,7 +256,7 @@ for content in config.CONNECT_PAGE_CONTENTS[1:5]: click_text(None, content) - verify_start_rejection() + verify_start_treatment_request() # Post Treatment td_simulator.td_blood_set_auto_load_response(0) @@ -371,6 +357,6 @@ "Connect Page Title Text", ) - verify_start_rejection() + verify_start_treatment_request() test.endSection()