Salome HOME
Fix code formatting
[modules/shaper.git] / test.squish / suite_ERROR_NOTIFICATION / tst_679 / test.py
index b186d752abed104335bf8a5b0fd1ba88cfa18d62..e4dfa054c49dee78054e1f52c108859fc457b125 100644 (file)
@@ -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"), "<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)