Index: suite_leahi/tst_general_aesthetics/test.py =================================================================== diff -u -rb39f0f6648b376d99112dc32a1ecf6bb0d612e4e -r5fba778211ba0dddf8e32cf60789e9afb6b44d62 --- suite_leahi/tst_general_aesthetics/test.py (.../test.py) (revision b39f0f6648b376d99112dc32a1ecf6bb0d612e4e) +++ suite_leahi/tst_general_aesthetics/test.py (.../test.py) (revision 5fba778211ba0dddf8e32cf60789e9afb6b44d62) @@ -6,8 +6,7 @@ # 1 Start Leahi Application # 2 Get Settings Icon Image and Compare it, Log the Header Settings Pop up displayed # Get Settings Brightness and Volume Icon Images and Compare -# 4 Verify Information Pop-up SD Card Section -# 5 Log the Header Diagnostics Pop up displayed and Compare TD Op modes and Sub modes +# 3 Log the Header Diagnostics Pop up displayed and Compare TD Op modes and Sub modes import names @@ -71,26 +70,6 @@ test.endSection() -def headerbar_information_popup_sd_card_section(): - """ - Method to verify Information Pop-up SD Card - """ - test.startSection("Verifying Information Pop-up SD Card Section") - mouseClick(waitForObjectExists(names.o_InformationIconButton, 3000)) - # Compare SD Card Section Contents - for content in config.SD_CARD_SECTION_CONTENTS: - obj = waitForObjectExists( - utility.setObjectText(names.o_InformationParameters, content) - ) - test.compare( - obj.text, - content, - f"Comparison of Information Pop-up SD Card Section Contents: {content}", - ) - - test.endSection() - - def headerbar_diagnostics_popup(): """ Method to verify Diagnostics Pop-up TD Op Mode @@ -178,6 +157,5 @@ utils.tstStart(__file__) startApplication(utility.aut("-q")) headerbar_settings_popup() - headerbar_information_popup_sd_card_section() headerbar_diagnostics_popup() utils.tstDone() Index: suite_leahi/tst_headerbar_information_popup/test.py =================================================================== diff -u -rf7c5babf0cceeac7cacd155523b3fca43ac25a95 -r5fba778211ba0dddf8e32cf60789e9afb6b44d62 --- suite_leahi/tst_headerbar_information_popup/test.py (.../test.py) (revision f7c5babf0cceeac7cacd155523b3fca43ac25a95) +++ suite_leahi/tst_headerbar_information_popup/test.py (.../test.py) (revision 5fba778211ba0dddf8e32cf60789e9afb6b44d62) @@ -1,4 +1,4 @@ -# Subject/Title: LDT-1650 HeaderBar - SW - 02 - Information - Q&R +# Subject/Title: LDT-1650 HeaderBar - SW - 02 - Information - Q&R and Misc SW Enhancements - SW - 02 - General Aesthetics - Q&R # # Functionalities: Testing all items of HeaderBar Information Pop up # @@ -10,6 +10,7 @@ # 5 Set and Compare Information Parameters at their Minimum values # 6 Set and Compare Information Parameters at their values Beyond the Maximum Allowed # 7 Set and Compare Information Parameters at their values Below the Minimum Allowed +# 8 Verify Information Pop-up SD Card Section import os import names @@ -153,7 +154,27 @@ ) test.endSection() + +def headerbar_information_popup_sd_card_section(): + """ + Method to verify Information Pop-up SD Card + """ + test.startSection("Verifying Information Pop-up SD Card Section") + # Compare SD Card Section Contents + for content in config.SD_CARD_SECTION_CONTENTS: + obj = waitForObjectExists( + utility.setObjectText(names.o_InformationParameters, content) + ) + test.compare( + obj.text, + content, + f"Comparison of Information Pop-up SD Card Section Contents: {content}", + ) + + test.endSection() + + def main(): utils.tstStart(__file__) # Set OS version @@ -288,5 +309,7 @@ dd_compatibility_rev = 0, dd_serial = "0" ) + + headerbar_information_popup_sd_card_section() utils.tstDone()