diff --git a/src/blenderbim/test/bim/feature/qto.feature b/src/blenderbim/test/bim/feature/qto.feature index def16ad469..4e2449c83e 100644 --- a/src/blenderbim/test/bim/feature/qto.feature +++ b/src/blenderbim/test/bim/feature/qto.feature @@ -46,3 +46,20 @@ Scenario: Execute qto method - side formwork areas When I set "scene.BIMQtoProperties.qto_methods" to "SIDE_FORMWORK" And I press "bim.execute_qto_method" Then "scene.BIMQtoProperties.qto_result" is "16.0" + + Scenario: Execute assign_objects_base_qto + Given an empty IFC project + And I add a cube + And the object "Cube" is selected + And I press "bim.assign_class(ifc_class='IfcWall', predefined_type='SOLIDWALL')" + When I press "bim.assign_objects_base_qto" + Then "active_object.PsetProperties.qto_name" is "Qto_WallBaseQuantities" + +Scenario: Execute calculate_all_quantities + Given an empty IFC project + And I add a cube + And the object "Cube" is selected + And I press "bim.assign_class(ifc_class='IfcWall', predefined_type='SOLIDWALL')" + When I press "bim.calculate_all_quantities" + Then "active_object.PsetProperties.qto_name" is "Qto_WallBaseQuantities" +