mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-23 07:32:42 +00:00
BIM tests - replace some class assignment with PanelSpy version
This commit is contained in:
@@ -113,9 +113,10 @@ Scenario: Assign library reference
|
||||
And the variable "reference" is "{ifc}.by_type('IfcLibraryReference')[-1].id()"
|
||||
And I add a cube
|
||||
And the object "Cube" is selected
|
||||
And I set "scene.BIMRootProperties.ifc_product" to "IfcElement"
|
||||
And I set "scene.BIMRootProperties.ifc_class" to "IfcWall"
|
||||
And I press "bim.assign_class"
|
||||
And I look at the "Class" panel
|
||||
And I set the "Products" property to "IfcElement"
|
||||
And I set the "Class" property to "IfcWall"
|
||||
And I click "Assign IFC Class"
|
||||
And the object "IfcWall/Cube" is selected
|
||||
When I press "bim.assign_library_reference(reference={reference})"
|
||||
Then nothing happens
|
||||
@@ -129,9 +130,10 @@ Scenario: Unassign library reference
|
||||
And the variable "reference" is "{ifc}.by_type('IfcLibraryReference')[-1].id()"
|
||||
And I add a cube
|
||||
And the object "Cube" is selected
|
||||
And I set "scene.BIMRootProperties.ifc_product" to "IfcElement"
|
||||
And I set "scene.BIMRootProperties.ifc_class" to "IfcWall"
|
||||
And I press "bim.assign_class"
|
||||
And I look at the "Class" panel
|
||||
And I set the "Products" property to "IfcElement"
|
||||
And I set the "Class" property to "IfcWall"
|
||||
And I click "Assign IFC Class"
|
||||
And the object "IfcWall/Cube" is selected
|
||||
And I press "bim.assign_library_reference(reference={reference})"
|
||||
When I press "bim.unassign_library_reference(reference={reference})"
|
||||
|
||||
Reference in New Issue
Block a user