diff --git a/src/blenderbim/test/bim/feature/search.feature b/src/blenderbim/test/bim/feature/search.feature index 80ec5a2c10..b82d780569 100644 --- a/src/blenderbim/test/bim/feature/search.feature +++ b/src/blenderbim/test/bim/feature/search.feature @@ -8,9 +8,9 @@ Scenario: Select all walls 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 add a new item to "scene.IfcSelectorProperties.groups" - And I add a new item to "scene.IfcSelectorProperties.groups[0].queries" - And I set "scene.IfcSelectorProperties.groups[0].queries[0].selector" to "IFC Class" - And I set "scene.IfcSelectorProperties.groups[0].queries[0].active_option" to "124: IfcWall" - When I press "bim.filter_model_elements(option='select')" + And I press "bim.add_filter_group(module='search')" + And I set "scene.BIMSearchProperties.facet" to "entity" + And I press "bim.add_filter(index=0, type='entity', module='search')" + And I set "scene.BIMSearchProperties.filter_groups[0].filters[0].value" to "IfcWall" + When I press "bim.search" Then the object "IfcWall/Cube" is selected