Salome HOME
Add Squish test for the issue #1157
authorspo <sergey.pokhodenko@opencascade.com>
Mon, 21 Dec 2015 14:01:59 +0000 (17:01 +0300)
committerspo <sergey.pokhodenko@opencascade.com>
Tue, 22 Dec 2015 06:42:19 +0000 (09:42 +0300)
test.squish/objects_salome.map
test.squish/suite_FEATURE_PARAMETERS/shared/steps/steps.py
test.squish/suite_FEATURE_PARAMETERS/tst_1157/test.feature [new file with mode: 0644]
test.squish/suite_FEATURE_PARAMETERS/tst_1157/test.py [new file with mode: 0644]

index 79fb2b4cb905889df6cfa9597f82da01aa0405aa..a707ae4f44a83717e0cc9d4208e5b23dbe85d611 100644 (file)
 :Center.Y _ModuleBase_ParamSpinBox_2   {container=':Arc.Center_QGroupBox' leftWidget=':Center.Y _QLabel_2' type='ModuleBase_ParamSpinBox' unnamed='1' visible='1'}
 :Center.Y _QLabel      {container=':Circle.Center_QGroupBox' text='Y ' type='QLabel' unnamed='1' visible='1'}
 :Center.Y _QLabel_2    {container=':Arc.Center_QGroupBox' text='Y ' type='QLabel' unnamed='1' visible='1'}
+:Center.qt_spinbox_lineedit_QLineEdit  {container=':Circle.Center_QGroupBox' name='qt_spinbox_lineedit' type='QLineEdit' visible='1'}
+:Center.qt_spinbox_lineedit_QLineEdit_2        {container=':Circle.Center_QGroupBox' name='qt_spinbox_lineedit' occurrence='2' type='QLineEdit' visible='1'}
+:Center.qt_spinbox_lineedit_QLineEdit_3        {container=':Arc.Center_QGroupBox' name='qt_spinbox_lineedit' type='QLineEdit' visible='1'}
+:Center.qt_spinbox_lineedit_QLineEdit_4        {container=':Arc.Center_QGroupBox' name='qt_spinbox_lineedit' occurrence='2' type='QLineEdit' visible='1'}
 :Circle.Auxiliary_QCheckBox    {container=':SALOME*.Circle_XGUI_PropertyPanel' text='Auxiliary' type='QCheckBox' unnamed='1' visible='1'}
 :Circle.Center_QGroupBox       {container=':SALOME*.Circle_XGUI_PropertyPanel' title='Center' type='QGroupBox' unnamed='1' visible='1'}
 :Circle.CircleRadius_ModuleBase_ParamSpinBox   {container=':SALOME*.Circle_XGUI_PropertyPanel' name='CircleRadius' type='ModuleBase_ParamSpinBox' visible='1'}
 :Circle.property_panel_cancel_QToolButton      {container=':SALOME*.Circle_XGUI_PropertyPanel' name='property_panel_cancel' type='QToolButton' visible='1'}
 :Circle.property_panel_ok_QToolButton  {container=':SALOME*.Circle_XGUI_PropertyPanel' name='property_panel_ok' type='QToolButton' visible='1'}
+:Circle.qt_spinbox_lineedit_QLineEdit  {container=':SALOME*.Circle_XGUI_PropertyPanel' name='qt_spinbox_lineedit' occurrence='3' type='QLineEdit' visible='1'}
 :Close active study.Close w/o saving_QPushButton       {text='Close w/o saving' type='QPushButton' unnamed='1' visible='1' window=':Close active study_SUIT_MessageBox'}
 :Close active study_SUIT_MessageBox    {type='SUIT_MessageBox' unnamed='1' visible='1' windowTitle='Close active study'}
 :Coincident.property_panel_cancel_QToolButton  {container=':SALOME*.Coincident_XGUI_PropertyPanel' name='property_panel_cancel' type='QToolButton' visible='1'}
 :End point.Y _QLabel   {container=':Line.End point_QGroupBox' text='Y ' type='QLabel' unnamed='1' visible='1'}
 :End point.Y _QLabel_2 {container=':Arc.End point_QGroupBox' text='Y ' type='QLabel' unnamed='1' visible='1'}
 :End point.qt_spinbox_lineedit_QLineEdit       {container=':Direction.End point_QGroupBox' name='qt_spinbox_lineedit' type='QLineEdit' visible='1'}
+:End point.qt_spinbox_lineedit_QLineEdit_2     {container=':Line.End point_QGroupBox' name='qt_spinbox_lineedit' type='QLineEdit' visible='1'}
+:End point.qt_spinbox_lineedit_QLineEdit_3     {container=':Line.End point_QGroupBox' name='qt_spinbox_lineedit' occurrence='2' type='QLineEdit' visible='1'}
+:End point.qt_spinbox_lineedit_QLineEdit_4     {container=':Arc.End point_QGroupBox' name='qt_spinbox_lineedit' type='QLineEdit' visible='1'}
+:End point.qt_spinbox_lineedit_QLineEdit_5     {container=':Arc.End point_QGroupBox' name='qt_spinbox_lineedit' occurrence='2' type='QLineEdit' visible='1'}
 :Equal.First object_QLabel     {container=':SALOME*.Equal_XGUI_PropertyPanel' text='First object' type='QLabel' unnamed='1' visible='1'}
 :Equal.First object_QLineEdit  {container=':SALOME*.Equal_XGUI_PropertyPanel' leftWidget=':Equal.First object_QLabel' type='QLineEdit' unnamed='1' visible='1'}
 :Equal.Second object_QLabel    {container=':SALOME*.Equal_XGUI_PropertyPanel' text='Second object' type='QLabel' unnamed='1' visible='1'}
 :Fatal error.OK_QPushButton    {text='OK' type='QPushButton' unnamed='1' visible='1' window=':Fatal error_QMessageBox'}
 :Fatal error_QMessageBox       {type='QMessageBox' unnamed='1' visible='1' windowTitle='Fatal error'}
 :Fillet.ConstraintValue_ModuleBase_ParamSpinBox        {container=':SALOME*.Fillet_XGUI_PropertyPanel' name='ConstraintValue' type='ModuleBase_ParamSpinBox' visible='1'}
+:Fillet.property_panel_cancel_QToolButton      {container=':SALOME*.Fillet_XGUI_PropertyPanel' name='property_panel_cancel' type='QToolButton' visible='1'}
 :Fillet.property_panel_ok_QToolButton  {container=':SALOME*.Fillet_XGUI_PropertyPanel' name='property_panel_ok' type='QToolButton' visible='1'}
 :Fillet.qt_spinbox_lineedit_QLineEdit  {container=':SALOME*.Fillet_XGUI_PropertyPanel' name='qt_spinbox_lineedit' type='QLineEdit' visible='1'}
 :Fixed.property_panel_cancel_QToolButton       {container=':SALOME*.Fixed_XGUI_PropertyPanel' name='property_panel_cancel' type='QToolButton' visible='1'}
 :SALOME*.-OZ_QToolButton       {text='-OZ' type='QToolButton' unnamed='1' visible='1' window=':SALOME*_STD_TabDesktop'}
 :SALOME*.3D View Operations_OCCViewer_ViewPort3d       {aboveWidget=':SALOME*.3D View Operations_QtxToolBar' type='OCCViewer_ViewPort3d' unnamed='1' visible='1' window=':SALOME*_STD_TabDesktop'}
 :SALOME*.3D View Operations_QtxToolBar {name='OCCViewer3DViewOperations' type='QtxToolBar' visible='1' window=':SALOME*_STD_TabDesktop' windowTitle='3D View Operations'}
+:SALOME*.Arc_QToolButton       {text='Arc' type='QToolButton' unnamed='1' visible='1' window=':SALOME*_STD_TabDesktop'}
 :SALOME*.Arc_XGUI_PropertyPanel        {name='property_panel_dock' type='XGUI_PropertyPanel' visible='1' window=':SALOME*_STD_TabDesktop' windowTitle='Arc'}
 :SALOME*.Axis_QToolButton      {text='Axis' type='QToolButton' unnamed='1' visible='1' window=':SALOME*_STD_TabDesktop'}
 :SALOME*.Axis_XGUI_PropertyPanel       {name='property_panel_dock' type='XGUI_PropertyPanel' visible='1' window=':SALOME*_STD_TabDesktop' windowTitle='Axis'}
 :SALOME*.Extrusion_QToolButton {text='Extrusion' type='QToolButton' unnamed='1' visible='1' window=':SALOME*_STD_TabDesktop'}
 :SALOME*.Extrusion_XGUI_PropertyPanel  {name='property_panel_dock' type='XGUI_PropertyPanel' visible='1' window=':SALOME*_STD_TabDesktop' windowTitle='Extrusion'}
 :SALOME*.Features_QtxToolBar   {name='Features' type='QtxToolBar' visible='1' window=':SALOME*_STD_TabDesktop' windowTitle='Features'}
+:SALOME*.Fillet_QToolButton    {text='Fillet' type='QToolButton' unnamed='1' visible='1' window=':SALOME*_STD_TabDesktop'}
 :SALOME*.Fillet_XGUI_PropertyPanel     {name='property_panel_dock' type='XGUI_PropertyPanel' visible='1' window=':SALOME*_STD_TabDesktop' windowTitle='Fillet'}
 :SALOME*.Fit All_QToolButton   {text='Fit All' type='QToolButton' unnamed='1' visible='1' window=':SALOME*_STD_TabDesktop'}
 :SALOME*.Fit Area_QToolButton  {text='Fit Area' type='QToolButton' unnamed='1' visible='1' window=':SALOME*_STD_TabDesktop'}
 :Start point.Y _QLabel {container=':Line.Start point_QGroupBox' text='Y ' type='QLabel' unnamed='1' visible='1'}
 :Start point.Y _QLabel_2       {container=':Arc.Start point_QGroupBox' text='Y ' type='QLabel' unnamed='1' visible='1'}
 :Start point.qt_spinbox_lineedit_QLineEdit     {container=':Direction.Start point_QGroupBox' name='qt_spinbox_lineedit' type='QLineEdit' visible='1'}
+:Start point.qt_spinbox_lineedit_QLineEdit_2   {container=':Line.Start point_QGroupBox' name='qt_spinbox_lineedit' type='QLineEdit' visible='1'}
+:Start point.qt_spinbox_lineedit_QLineEdit_3   {container=':Line.Start point_QGroupBox' name='qt_spinbox_lineedit' occurrence='2' type='QLineEdit' visible='1'}
+:Start point.qt_spinbox_lineedit_QLineEdit_4   {container=':Arc.Start point_QGroupBox' name='qt_spinbox_lineedit' type='QLineEdit' visible='1'}
+:Start point.qt_spinbox_lineedit_QLineEdit_5   {container=':Arc.Start point_QGroupBox' name='qt_spinbox_lineedit' occurrence='2' type='QLineEdit' visible='1'}
 :Tangent.property_panel_cancel_QToolButton     {container=':SALOME*.Tangent_XGUI_PropertyPanel' name='property_panel_cancel' type='QToolButton' visible='1'}
 :To.to_offset_ModuleBase_ParamSpinBox  {container=':Extrusion.To_ModuleBase_PageGroupBox' name='to_offset' type='ModuleBase_ParamSpinBox' visible='1'}
 :To.to_offset_ModuleBase_ParamSpinBox_2        {container=':Revolution.To_ModuleBase_PageGroupBox' name='to_offset' type='ModuleBase_ParamSpinBox' visible='1'}
index ad69b6393eece123029edfcb1b7d498936fcb014..3f72cb302243fab72a0f159177666738713f7dd7 100644 (file)
@@ -67,3 +67,129 @@ def step(context):
     clickItem(":Object browser_XGUI_DataTree", "Part\\_1.Parameters (1)", -10, 10, 0, Qt.LeftButton)
     waitFor("object.exists(':Parameters (1).a = 32_QModelIndex')", 20000)
     test.compare(findObject(":Parameters (1).a = 32_QModelIndex").text, "a = 32")
+
+@When("Create sketch")
+def step(context):
+    clickButton(waitForObject(":SALOME*.Sketch_QToolButton"))
+    clickButton(waitForObject(":SALOME*.-OZ_QToolButton"))
+    mouseClick(waitForObject(":SALOME*.3D View Operations_OCCViewer_ViewPort3d"), 247, 126, 0, Qt.LeftButton)
+    clickButton(waitForObject(":Sketcher plane.Set plane view_QPushButton"))
+
+@Then("Check that Point does not allow using expressions")
+def step(context):
+    clickButton(waitForObject(":SALOME*.SketchPoint_QToolButton"))
+    mouseClick(waitForObject(":Point.qt_spinbox_lineedit_QLineEdit"), 41, 6, 0, Qt.LeftButton)
+    type(waitForObject(":Point.X _ModuleBase_ParamSpinBox"), "<Ctrl+A>")
+    type(waitForObject(":Point.X _ModuleBase_ParamSpinBox"), "a")
+    mouseClick(waitForObject(":Point.qt_spinbox_lineedit_QLineEdit_2"), 40, 9, 0, Qt.LeftButton)
+    type(waitForObject(":Point.Y _ModuleBase_ParamSpinBox"), "<Ctrl+A>")
+    type(waitForObject(":Point.Y _ModuleBase_ParamSpinBox"), "a")
+    waitFor("object.exists(':Point.qt_spinbox_lineedit_QLineEdit')", 20000)
+    test.compare(str(findObject(":Point.qt_spinbox_lineedit_QLineEdit").text), "0")
+    waitFor("object.exists(':Point.qt_spinbox_lineedit_QLineEdit_2')", 20000)
+    test.compare(str(findObject(":Point.qt_spinbox_lineedit_QLineEdit_2").text), "0")
+    clickButton(waitForObject(":Point.property_panel_cancel_QToolButton"))
+
+@Then("Check that Line does not allow using expressions")
+def step(context):
+    clickButton(waitForObject(":SALOME*.Line_QToolButton"))
+    mouseClick(waitForObject(":Start point.qt_spinbox_lineedit_QLineEdit_2"), 89, 9, 0, Qt.LeftButton)
+    type(waitForObject(":Start point.X _ModuleBase_ParamSpinBox"), "<Ctrl+A>")
+    type(waitForObject(":Start point.X _ModuleBase_ParamSpinBox"), "a")
+    mouseClick(waitForObject(":Start point.qt_spinbox_lineedit_QLineEdit_3"), 72, 10, 0, Qt.LeftButton)
+    type(waitForObject(":Start point.Y _ModuleBase_ParamSpinBox"), "<Ctrl+A>")
+    type(waitForObject(":Start point.Y _ModuleBase_ParamSpinBox"), "a")
+    mouseClick(waitForObject(":End point.qt_spinbox_lineedit_QLineEdit_2"), 62, 8, 0, Qt.LeftButton)
+    type(waitForObject(":End point.X _ModuleBase_ParamSpinBox"), "<Ctrl+A>")
+    type(waitForObject(":End point.X _ModuleBase_ParamSpinBox"), "a")
+    mouseClick(waitForObject(":End point.qt_spinbox_lineedit_QLineEdit_3"), 59, 6, 0, Qt.LeftButton)
+    type(waitForObject(":End point.Y _ModuleBase_ParamSpinBox"), "<Ctrl+A>")
+    type(waitForObject(":End point.Y _ModuleBase_ParamSpinBox"), "a")
+    waitFor("object.exists(':Start point.qt_spinbox_lineedit_QLineEdit_2')", 20000)
+    test.compare(str(findObject(":Start point.qt_spinbox_lineedit_QLineEdit_2").text), "0")
+    waitFor("object.exists(':Start point.qt_spinbox_lineedit_QLineEdit_3')", 20000)
+    test.compare(str(findObject(":Start point.qt_spinbox_lineedit_QLineEdit_3").text), "0")
+    waitFor("object.exists(':End point.qt_spinbox_lineedit_QLineEdit_2')", 20000)
+    test.compare(str(findObject(":End point.qt_spinbox_lineedit_QLineEdit_2").text), "0")
+    waitFor("object.exists(':End point.qt_spinbox_lineedit_QLineEdit_3')", 20000)
+    test.compare(str(findObject(":End point.qt_spinbox_lineedit_QLineEdit_3").text), "0")
+    clickButton(waitForObject(":Line.property_panel_cancel_QToolButton"))
+
+@Then("Check that Circle does not allow using expressions")
+def step(context):
+    clickButton(waitForObject(":SALOME*.Circle_QToolButton"))
+    mouseClick(waitForObject(":Center.qt_spinbox_lineedit_QLineEdit"), 90, 4, 0, Qt.LeftButton)
+    type(waitForObject(":Center.X _ModuleBase_ParamSpinBox"), "<Ctrl+A>")
+    type(waitForObject(":Center.X _ModuleBase_ParamSpinBox"), "a")
+    mouseClick(waitForObject(":Center.qt_spinbox_lineedit_QLineEdit_2"), 71, 8, 0, Qt.LeftButton)
+    type(waitForObject(":Center.Y _ModuleBase_ParamSpinBox"), "<Ctrl+A>")
+    type(waitForObject(":Center.Y _ModuleBase_ParamSpinBox"), "a")
+    mouseClick(waitForObject(":Circle.qt_spinbox_lineedit_QLineEdit"), 58, 6, 0, Qt.LeftButton)
+    type(waitForObject(":Circle.CircleRadius_ModuleBase_ParamSpinBox"), "<Ctrl+A>")
+    type(waitForObject(":Circle.CircleRadius_ModuleBase_ParamSpinBox"), "a")
+    waitFor("object.exists(':Center.qt_spinbox_lineedit_QLineEdit')", 20000)
+    test.compare(str(findObject(":Center.qt_spinbox_lineedit_QLineEdit").text), "0")
+    waitFor("object.exists(':Center.qt_spinbox_lineedit_QLineEdit_2')", 20000)
+    test.compare(str(findObject(":Center.qt_spinbox_lineedit_QLineEdit_2").text), "0")
+    waitFor("object.exists(':Circle.qt_spinbox_lineedit_QLineEdit')", 20000)
+    test.compare(str(findObject(":Circle.qt_spinbox_lineedit_QLineEdit").text), "0")
+    clickButton(waitForObject(":Circle.property_panel_cancel_QToolButton"))
+
+@Then("Check that Arc does not allow using expressions")
+def step(context):
+    clickButton(waitForObject(":SALOME*.Arc_QToolButton"))
+    mouseClick(waitForObject(":Center.qt_spinbox_lineedit_QLineEdit_3"), 156, 6, 0, Qt.LeftButton)
+    type(waitForObject(":Center.X _ModuleBase_ParamSpinBox_2"), "A")
+    type(waitForObject(":Center.X _ModuleBase_ParamSpinBox_2"), "<Ctrl+A>")
+    type(waitForObject(":Center.X _ModuleBase_ParamSpinBox_2"), "a")
+    mouseClick(waitForObject(":Arc.Center_QGroupBox"), 135, 41, 0, Qt.LeftButton)
+    mouseClick(waitForObject(":Center.qt_spinbox_lineedit_QLineEdit_4"), 115, 3, 0, Qt.LeftButton)
+    type(waitForObject(":Center.Y _ModuleBase_ParamSpinBox_2"), "<Ctrl+A>")
+    type(waitForObject(":Center.Y _ModuleBase_ParamSpinBox_2"), "a")
+    mouseClick(waitForObject(":Start point.qt_spinbox_lineedit_QLineEdit_4"), 103, 9, 0, Qt.LeftButton)
+    type(waitForObject(":Start point.X _ModuleBase_ParamSpinBox_2"), "<Ctrl+A>")
+    type(waitForObject(":Start point.X _ModuleBase_ParamSpinBox_2"), "a")
+    mouseClick(waitForObject(":Start point.qt_spinbox_lineedit_QLineEdit_5"), 99, 8, 0, Qt.LeftButton)
+    type(waitForObject(":Start point.Y _ModuleBase_ParamSpinBox_2"), "<Ctrl+A>")
+    type(waitForObject(":Start point.Y _ModuleBase_ParamSpinBox_2"), "a")
+    mouseClick(waitForObject(":End point.qt_spinbox_lineedit_QLineEdit_4"), 99, 1, 0, Qt.LeftButton)
+    type(waitForObject(":End point.X _ModuleBase_ParamSpinBox_2"), "<Ctrl+A>")
+    type(waitForObject(":End point.X _ModuleBase_ParamSpinBox_2"), "a")
+    mouseClick(waitForObject(":End point.qt_spinbox_lineedit_QLineEdit_5"), 99, 1, 0, Qt.LeftButton)
+    type(waitForObject(":End point.Y _ModuleBase_ParamSpinBox_2"), "<Ctrl+A>")
+    type(waitForObject(":End point.Y _ModuleBase_ParamSpinBox_2"), "a")
+    waitFor("object.exists(':Center.qt_spinbox_lineedit_QLineEdit_3')", 20000)
+    test.compare(str(findObject(":Center.qt_spinbox_lineedit_QLineEdit_3").text), "0")
+    waitFor("object.exists(':Center.qt_spinbox_lineedit_QLineEdit_4')", 20000)
+    test.compare(str(findObject(":Center.qt_spinbox_lineedit_QLineEdit_4").text), "0")
+    waitFor("object.exists(':Start point.qt_spinbox_lineedit_QLineEdit_4')", 20000)
+    test.compare(str(findObject(":Start point.qt_spinbox_lineedit_QLineEdit_4").text), "0")
+    waitFor("object.exists(':Start point.qt_spinbox_lineedit_QLineEdit_5')", 20000)
+    test.compare(str(findObject(":Start point.qt_spinbox_lineedit_QLineEdit_5").text), "0")
+    waitFor("object.exists(':End point.qt_spinbox_lineedit_QLineEdit_4')", 20000)
+    test.compare(str(findObject(":End point.qt_spinbox_lineedit_QLineEdit_4").text), "0")
+    waitFor("object.exists(':End point.qt_spinbox_lineedit_QLineEdit_5')", 20000)
+    test.compare(str(findObject(":End point.qt_spinbox_lineedit_QLineEdit_5").text), "0")
+    clickButton(waitForObject(":Arc.property_panel_cancel_QToolButton"))
+
+@Then("Check that Fillet does not allow using expressions")
+def step(context):
+    clickButton(waitForObject(":SALOME*.Line_QToolButton"))
+    mouseClick(waitForObject(":SALOME*.3D View Operations_OCCViewer_ViewPort3d"), 131, 282, 0, Qt.LeftButton)
+    mouseClick(waitForObject(":SALOME*.3D View Operations_OCCViewer_ViewPort3d"), 209, 98, 0, Qt.LeftButton)
+    mouseClick(waitForObject(":SALOME*.3D View Operations_OCCViewer_ViewPort3d"), 283, 275, 0, Qt.LeftButton)
+    clickButton(waitForObject(":Line.property_panel_cancel_QToolButton"))
+    clickButton(waitForObject(":SALOME*.Fillet_QToolButton"))
+    mouseClick(waitForObject(":SALOME*.3D View Operations_OCCViewer_ViewPort3d"), 211, 99, 0, Qt.LeftButton)
+    type(waitForObject(":Fillet.ConstraintValue_ModuleBase_ParamSpinBox"), "<Ctrl+A>")
+    type(waitForObject(":Fillet.ConstraintValue_ModuleBase_ParamSpinBox"), "<Keypad_1>")
+    type(waitForObject(":Fillet.ConstraintValue_ModuleBase_ParamSpinBox"), "<Keypad_0>")
+    type(waitForObject(":Fillet.ConstraintValue_ModuleBase_ParamSpinBox"), "<Keypad_Enter>")
+    waitFor("object.exists(':Fillet.qt_spinbox_lineedit_QLineEdit')", 20000)
+    test.compare(str(findObject(":Fillet.qt_spinbox_lineedit_QLineEdit").text), "10")
+    mouseClick(waitForObject(":Fillet.qt_spinbox_lineedit_QLineEdit"), 48, 6, 0, Qt.LeftButton)
+    type(waitForObject(":Fillet.ConstraintValue_ModuleBase_ParamSpinBox"), "<Ctrl+A>")
+    type(waitForObject(":Fillet.ConstraintValue_ModuleBase_ParamSpinBox"), "a")
+    waitFor("object.exists(':Fillet.qt_spinbox_lineedit_QLineEdit')", 20000)
+    test.compare(str(findObject(":Fillet.qt_spinbox_lineedit_QLineEdit").text), "10")
+    clickButton(waitForObject(":Fillet.property_panel_cancel_QToolButton"))
diff --git a/test.squish/suite_FEATURE_PARAMETERS/tst_1157/test.feature b/test.squish/suite_FEATURE_PARAMETERS/tst_1157/test.feature
new file mode 100644 (file)
index 0000000..3596383
--- /dev/null
@@ -0,0 +1,15 @@
+Feature: Disable using expressions in double and Point2D attributes of sketch entities.
+
+    Sketch entities should be modified by solver, but using expressions restricts value changing.
+
+    Scenario: Check that Point, Line, Circle, Arc and Fillet does not allow input parameters
+
+        Given Launch application in salome mode
+         When Create part
+          And Create parameter a=30
+          And Create sketch
+         Then Check that Point does not allow using expressions
+          And Check that Line does not allow using expressions
+          And Check that Circle does not allow using expressions
+          And Check that Arc does not allow using expressions
+          And Check that Fillet does not allow using expressions
diff --git a/test.squish/suite_FEATURE_PARAMETERS/tst_1157/test.py b/test.squish/suite_FEATURE_PARAMETERS/tst_1157/test.py
new file mode 100644 (file)
index 0000000..75e47d0
--- /dev/null
@@ -0,0 +1,8 @@
+source(findFile('scripts', 'python/bdd.py'))
+
+setupHooks('../shared/scripts/bdd_hooks.py')
+collectStepDefinitions('./steps', '../shared/steps')
+
+def main():
+    testSettings.throwOnFailure = True
+    runFeatureFile('test.feature')