Index: suite_leahi/tst_pre_treatment_foundation/test.py =================================================================== diff -u -r3470229eecdcc8c4810e088870f1ee55acfdc187 -r23037797e0ceee499a15eabb33154da323d904f6 --- suite_leahi/tst_pre_treatment_foundation/test.py (.../test.py) (revision 3470229eecdcc8c4810e088870f1ee55acfdc187) +++ suite_leahi/tst_pre_treatment_foundation/test.py (.../test.py) (revision 23037797e0ceee499a15eabb33154da323d904f6) @@ -143,18 +143,18 @@ application_init.reset_system_setting("AdvancedMode") startApplication(utility.aut("-q")) - + # --- Flow 1: Full Pre-Treatment --- td_simulator.td_operation_mode(TDOpModes.MODE_STAN.value) td_simulator.td_operation_mode(TDOpModes.MODE_PRET.value) - + # Concentrates waitForObjectExists(names.o_preTreatmentStack_PreTreatmentStack, 3000) test.compare( waitForObjectExists( names.o_PreTreatmentBase_instructionView_InstructionView, 3000 ).title, - config.CONCENTRATES_PAGE_TITLE, + application_init.get_instructions_title('[Concentrates]'), "Comparison of Concentrates Page Title Text", ) @@ -172,7 +172,7 @@ # Installation Stepper wait_compare_text( names.o_preTreatmentStack_Text, - config.INSTALLATION_STEPPER_1_PAGE_TITLE, + application_init.get_instructions_title('[Installation^Blood Tubing Set]'), "Installation Page Stepper 1", ) content_column = waitForObjectExists(names.o_PreTreatmentBase_contentColumn_Column) @@ -185,7 +185,7 @@ wait_compare_text( names.o_preTreatmentStack_Text, - config.INSTALLATION_STEPPER_2_PAGE_TITLE, + application_init.get_instructions_title('[Installation^Bloodlines]'), "Installation Page Stepper 2", ) content_column = waitForObjectExists(names.o_PreTreatmentBase_contentColumn_Column) @@ -196,7 +196,7 @@ wait_compare_text( names.o_preTreatmentStack_Text, - config.INSTALLATION_STEPPER_3_PAGE_TITLE, + application_init.get_instructions_title('[Installation^Pressure Lines and Dialyzer]'), "Installation Page Stepper 3", ) content_column = waitForObjectExists(names.o_PreTreatmentBase_contentColumn_Column) @@ -207,7 +207,7 @@ wait_compare_text( names.o_preTreatmentStack_Text, - config.INSTALLATION_STEPPER_4_PAGE_TITLE, + application_init.get_instructions_title('[Installation^Saline]'), "Installation Page Stepper 4", ) content_column = waitForObjectExists(names.o_PreTreatmentBase_contentColumn_Column) @@ -238,9 +238,10 @@ set_treatment_params('1234', 60, 75, 75, 0.10) # Connect + wait_compare_text( names.o_preTreatmentStack_Text, - config.CONNECT_PAGE_TITLE, + application_init.get_instructions_title('[Connect]'), "Connect Page Title Text", ) content_column = waitForObjectExists(names.o_PreTreatmentBase_contentColumn_Column_2) @@ -277,7 +278,7 @@ wait_compare_text( names.o_preTreatmentStack_Text, - config.INSTALLATION_PAGE_TITLE, + application_init.get_instructions_title('[@Installation]'), "Installation Page Title Text", ) content_column = waitForObjectExists(names.o_PreTreatmentBase_contentColumn_Column) @@ -309,7 +310,7 @@ wait_compare_text( names.o_preTreatmentStack_Text, - config.CONNECT_PAGE_TITLE, + application_init.get_instructions_title('[Connect]'), "Connect Page Title Text", )