calculate all quantities smoke test

This commit is contained in:
Massimo Fabbro
2023-02-18 13:05:01 +01:00
committed by Dion Moult
parent f81ceb53cf
commit 9cc754488b
@@ -61,5 +61,9 @@ Scenario: Execute calculate_all_quantities
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"
And the variable "qset_id" is "{ifc}.by_type('IfcElementQuantity')[0].id()"
And I press "bim.enable_pset_editing(pset_id={qset_id}, obj='IfcWall/Cube', obj_type='Object')"
And I press "bim.disable_pset_editing(obj='IfcWall/Cube', obj_type='Object')"
Then "active_object.PsetProperties.qto_name" is "Qto_WallBaseQuantities"
Then "active_object.PsetProperties.properties['Length'].metadata.float_value" is "2.0"