diff --git a/src/blenderbim/test/bim/feature/root.feature b/src/blenderbim/test/bim/feature/root.feature index aed40d3e2a..407d60d4f8 100644 --- a/src/blenderbim/test/bim/feature/root.feature +++ b/src/blenderbim/test/bim/feature/root.feature @@ -13,3 +13,13 @@ Scenario: Unlink object Then the object "Cube" is not an IFC element And the material "Material" is not an IFC material And the material "Material" is not an IFC style + + +Scenario: Copy class + Given an empty IFC project + And I add a cube + And the object "Cube" is selected + And I set "scene.BIMRootProperties.ifc_class" to "IfcWall" + And I press "bim.assign_class" + When I press "bim.copy_class(obj='IfcWall/Cube')" + Then the object "IfcWall/Cube" is an "IfcWall"