Index: tst_TreatmentStatesData/test.py =================================================================== diff -u -r9304d64222c02f0dc812ff86dc945c8deba46440 -rc5a7028efbf4a343a6ce3d92d3d534a5e15d784c --- tst_TreatmentStatesData/test.py (.../test.py) (revision 9304d64222c02f0dc812ff86dc945c8deba46440) +++ tst_TreatmentStatesData/test.py (.../test.py) (revision c5a7028efbf4a343a6ce3d92d3d534a5e15d784c) @@ -13,11 +13,7 @@ # import names -if names.DIALIN_LINK: - from dialin.squish import utils, denaliMessages -else: - import utils - import denaliMessages +from dialin.squish import utils, denaliMessages class txStates: # Saline states @@ -42,7 +38,7 @@ def test_values(vSubMode, vUFState, vSalineState): - # these test cases are not always dependending to each other + # these test cases are not always depending to each other if (vSubMode == txStates.TREATMENT_DIALYSIS_STATE_NOT): test.compare( waitForObjectExists(names.o_treatmentStart_treatmentTime_section ).visible, True ) test.compare( waitForObjectExists(names.o_treatmentStart_treatmentTime_arrowImage ).visible, True ) @@ -77,7 +73,9 @@ if (vSalineState == txStates.SALINE_STOP_STATE ): test.compare( waitForObjectExists(names.o_treatmentStart_ultrafiltration_section ).isTouchable, True ) + utils.waitForGUI() mouseClick ( waitForObject (names.o_treatmentStart_ultrafiltration_section)) + utils.waitForGUI() test.compare( findObject (names.o_treatmentAdjustmentUltrafiltrationStart_Screen ).visible , True ) mouseClick ( waitForObject (names.o_closeButton))