From a23c88a53e3518c57107379d3e03c8ada3f25f19 Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Thu, 9 Dec 2021 13:38:46 +1100 Subject: [PATCH] Minor fix for #1902. --- src/blenderbim/test/bim/feature/root.feature | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/blenderbim/test/bim/feature/root.feature b/src/blenderbim/test/bim/feature/root.feature index a90eab9364..760db8be98 100644 --- a/src/blenderbim/test/bim/feature/root.feature +++ b/src/blenderbim/test/bim/feature/root.feature @@ -2,6 +2,19 @@ Feature: Root Covers IFC class operations on Blender objects +Scenario: Reassign 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" + And I press "object.duplicate_move" + When the object "IfcWall/Cube.001" is selected + And I press "bim.enable_reassign_class" + And I set "scene.BIMRootProperties.ifc_class" to "IfcSlab" + And I press "bim.reassign_class" + Then the object "IfcSlab/Cube" is an "IfcSlab" + Scenario: Unlink object Given an empty IFC project And I add a cube