:Extrusion_QToolButton {container=':SALOME*.Extrusion_XGUI_PropertyPanel' occurrence='2' type='QToolButton' 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_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'}
:From.from_offset_ModuleBase_ParamSpinBox {container=':Extrusion.From_ModuleBase_PageGroupBox' name='from_offset' type='ModuleBase_ParamSpinBox' visible='1'}
:From.from_offset_ModuleBase_ParamSpinBox_2 {container=':Revolution.From_ModuleBase_PageGroupBox' name='from_offset' type='ModuleBase_ParamSpinBox' visible='1'}
:SALOME*.Distance_XGUI_PropertyPanel {name='property_panel_dock' type='XGUI_PropertyPanel' visible='1' window=':SALOME*_STD_TabDesktop' windowTitle='Distance'}
:SALOME*.Equal_XGUI_PropertyPanel {name='property_panel_dock' type='XGUI_PropertyPanel' visible='1' window=':SALOME*_STD_TabDesktop' windowTitle='Equal'}
:SALOME*.Extrusion_XGUI_PropertyPanel {name='property_panel_dock' type='XGUI_PropertyPanel' visible='1' window=':SALOME*_STD_TabDesktop' windowTitle='Extrusion'}
+: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*.Fixed_XGUI_PropertyPanel {name='property_panel_dock' type='XGUI_PropertyPanel' visible='1' window=':SALOME*_STD_TabDesktop' windowTitle='Fixed'}
:SALOME*.Horizontal_XGUI_PropertyPanel {name='property_panel_dock' type='XGUI_PropertyPanel' visible='1' window=':SALOME*_STD_TabDesktop' windowTitle='Horizontal'}
--- /dev/null
+
+def main():
+ #[project] NewGEOM
+ #[Scenario] Sketch_015
+ #[Topic] 'Fillet' functionality
+ #[Tested functionality]
+ #[Summary description]
+ #[Expected results]
+ #[General comments]
+
+ source(findFile("scripts", "common.py"))
+
+ #[section] Application start
+ #[step] Launch SALOME
+ startApplication("salome_run.sh")
+
+ set_defaults()
+
+ #[step] Open 'for_sketch_015.hdf'
+ open(DATA_PATH + "/for_sketch_015.hdf")
+
+ #[step] Activate NewGeom
+ clickButton(waitForObject(":SALOME*.NewGeom_QToolButton"))
+
+ #[step] Edit 'Sketch_1'
+ waitForObjectItem(":Object browser_XGUI_DataTree", "Sketch\\_1")
+ clickItem(":Object browser_XGUI_DataTree", "Sketch\\_1", 43, 12, 0, Qt.LeftButton)
+ openItemContextMenu(waitForObject(":Object browser_XGUI_DataTree"), "Sketch\\_1", 43, 12, 0)
+ activateItem(waitForObjectItem(":_QMenu", "Edit..."))
+
+ #[step] Click '+OZ' button
+ clickButton(waitForObject(":SALOME*.+OZ_QToolButton"))
+
+ #[step] Sketch - Fillet
+ mouseClick(waitForObjectItem(":SALOME*_QMenuBar", "Sketch"))
+ mouseClick(waitForObjectItem(":Sketch_QMenu", "Fillet"))
+
+ #[step] Select first line in viewer
+ mouseClick(waitForObject(":SALOME*.3D View Operations_OCCViewer_ViewPort3d"), 99, 222, 0, Qt.LeftButton)
+
+ #[step] Select first line in viewer
+ mouseClick(waitForObject(":SALOME*.3D View Operations_OCCViewer_ViewPort3d"), 277, 479, 0, Qt.LeftButton)
+
+ #[step] Input value equal to 50
+ type(waitForObject(":Fillet.ConstraintValue_ModuleBase_ParamSpinBox"), "<Ctrl+A>")
+ type(waitForObject(":Fillet.ConstraintValue_ModuleBase_ParamSpinBox"), 50)
+
+ #[check] Check that preview is updated
+ test.vp("VP1")
+
+ #[step] Ok
+ clickButton(waitForObject(":Fillet.property_panel_ok_QToolButton"))
+
+ #[check] Check that fillet has been executed successfully
+ test.vp("VP2")
+
+ # [step] Close application without saving
+ close_application()