test features

This commit is contained in:
Vukas Pajic
2022-07-21 08:20:25 +02:00
parent 1586c85314
commit fcab5d445f
4 changed files with 231 additions and 1 deletions
@@ -0,0 +1,16 @@
@root
Feature: Search
Scenario: Select all walls
Given an empty IFC project
And I add a cube
When the object "Cube" is selected
And I set "scene.BIMRootProperties.ifc_class" to "IfcWall"
And I press "bim.assign_class"
And I add a new group to IfcSelector
And I add a new query to IfcSelector
And I set "scene.IfcSelectorProperties.groups[0].queries[0].active_option" to "IFC Class"
And I set "scene.IfcSelectorProperties.groups[0].queries[0].active_option" to "124: IfcWall"
And I press 'bim.filter_model_elements'
Then bpy.context.selected_objects should contain "Cube"