Index: suite_leahi/tst_general_aesthetics/test.py =================================================================== diff -u -r43156dcfcf73cb8d8c46738e0e3e4ca7a44934a3 -rb39f0f6648b376d99112dc32a1ecf6bb0d612e4e --- suite_leahi/tst_general_aesthetics/test.py (.../test.py) (revision 43156dcfcf73cb8d8c46738e0e3e4ca7a44934a3) +++ suite_leahi/tst_general_aesthetics/test.py (.../test.py) (revision b39f0f6648b376d99112dc32a1ecf6bb0d612e4e) @@ -129,17 +129,16 @@ for mode in TDOpModes: td_simulator.td_operation_mode(mode.value, 0) - headerbar_diagnostics = waitForObjectExists(names.o_headerBar_HeaderBar, 3000) doubleClick(headerbar_diagnostics) - mouseClick(utility.get_object_from_names(names.o_HeaderBar_Diagnostics_Popup_TDOpModeColumn)) + parent_obj = utility.get_object_from_names(names.o_view_SwipeView) + mouseClick(utility.get_object_from_names(utility.findObjectById(parent_obj, '_TDOpModeColumn'))) td_opmode_value = waitForObject( utility.setObjectText( names.o_HeaderBar_Diagnostics_Popup_TDOpmodeData_Value, mode.value ), 3000, ) - # Compare UI text to the expected mode value string test.compare( str(td_opmode_value.text), str(mode.value), @@ -173,8 +172,8 @@ ) test.endSection() + - def main(): utils.tstStart(__file__) startApplication(utility.aut("-q"))