Salome HOME
Update SQUISH tests
[modules/shaper.git] / test.squish / suite_ERROR_NOTIFICATION / tst_679 / test.py
index b186d752abed104335bf8a5b0fd1ba88cfa18d62..a02ffb488142981e2f3f970a2580bb81265c1638 100644 (file)
@@ -10,19 +10,22 @@ def main():
     clickButton(waitForObject(":SALOME*.Parameter_QToolButton"))
     type(waitForObject(":Parameter_QLineEdit"), "a")
     type(waitForObject(":Parameter_ExpressionEditor"), "3")
+    type(waitForObject(":Parameter_ExpressionEditor"), "<Return>")
     clickButton(waitForObject(":Parameter.property_panel_ok_QToolButton"))
     
     clickButton(waitForObject(":SALOME*.ConstructionPoint_QToolButton"))
     type(waitForObject(":Point.x_ModuleBase_ParamSpinBox"), "<Ctrl+A>")
     type(waitForObject(":Point.x_ModuleBase_ParamSpinBox"), "a")
+    type(waitForObject(":Point.x_ModuleBase_ParamSpinBox"), "<Return>")
+
     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"), "<Ctrl+A>")
     type(waitForObject(":Point.x_ModuleBase_ParamSpinBox"), "b")
+    type(waitForObject(":Point.x_ModuleBase_ParamSpinBox"), "<Return>")
 
     waitFor("object.exists(':Point_QFrame')", 20000)
-    
     test.compare(str(findObject(":Point_QFrame").toolTip), "ModelAPI_StateInvalidArgument")
     
     waitFor("object.exists(':Point.x_ModuleBase_ParamSpinBox')", 20000)