X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=test.squish%2Fsuite_ERROR_NOTIFICATION%2Ftst_679%2Ftest.py;h=e4dfa054c49dee78054e1f52c108859fc457b125;hb=e41b56f4e683d7768dce26062e579b1bb901f6b4;hp=b186d752abed104335bf8a5b0fd1ba88cfa18d62;hpb=c3ae28ba30027cc4a6a757ef623f40adaae96ead;p=modules%2Fshaper.git diff --git a/test.squish/suite_ERROR_NOTIFICATION/tst_679/test.py b/test.squish/suite_ERROR_NOTIFICATION/tst_679/test.py index b186d752a..e4dfa054c 100644 --- a/test.squish/suite_ERROR_NOTIFICATION/tst_679/test.py +++ b/test.squish/suite_ERROR_NOTIFICATION/tst_679/test.py @@ -5,24 +5,27 @@ def main(): startApplication("salome_run.sh") - activate_newgeom() + activate_SHAPER() clickButton(waitForObject(":SALOME*.Parameter_QToolButton")) type(waitForObject(":Parameter_QLineEdit"), "a") type(waitForObject(":Parameter_ExpressionEditor"), "3") + type(waitForObject(":Parameter_ExpressionEditor"), "") clickButton(waitForObject(":Parameter.property_panel_ok_QToolButton")) clickButton(waitForObject(":SALOME*.ConstructionPoint_QToolButton")) type(waitForObject(":Point.x_ModuleBase_ParamSpinBox"), "") type(waitForObject(":Point.x_ModuleBase_ParamSpinBox"), "a") + type(waitForObject(":Point.x_ModuleBase_ParamSpinBox"), "") + waitFor("object.exists(':Point.x_ModuleBase_ParamSpinBox')", 20000) test.compare(str(findObject(":Point.x_ModuleBase_ParamSpinBox").toolTip), "X coordinate") type(waitForObject(":Point.x_ModuleBase_ParamSpinBox"), "") type(waitForObject(":Point.x_ModuleBase_ParamSpinBox"), "b") + type(waitForObject(":Point.x_ModuleBase_ParamSpinBox"), "") waitFor("object.exists(':Point_QFrame')", 20000) - test.compare(str(findObject(":Point_QFrame").toolTip), "ModelAPI_StateInvalidArgument") waitFor("object.exists(':Point.x_ModuleBase_ParamSpinBox')", 20000)