Debian Codegraph @

src/bonsai/test/bim/feature/boolean.feature

raw
1 @boolean
2 Feature: Boolean
3 Manage boolean hierarchies and boolean results
4
5 Scenario: Ensure added booleans are marked as manual
6 Given an empty IFC project
7 And I open the "Add" menu
8 And I trigger "Add Element"
9 And I set the "Definition" property to "IfcElement"
10 And I set the "Class" property to "IfcFurniture"
11 And I set the "Representation" property to "Custom Extruded Solid"
12 And I click "OK"
13 And the object "IfcFurniture/Unnamed" exists
14 And I toggle edit mode
15 And the object "Item/IfcExtrudedAreaSolid/77" exists
16 And I open the "Add Item" menu
17 When I click "Half Space Solid"
18 And the object "Item/IfcHalfSpaceSolid/90" exists
19 And I deselect all objects
20 And I toggle edit mode
21 And I select the object "IfcFurniture/Unnamed"
22 And I look at the "Property Sets" panel
23 Then I see "BBIM_Boolean"
24 And I see "[91]"
25
26 Scenario: Ensure removed booleans are unmarked as manual
27 Given an empty IFC project
28 And I open the "Add" menu
29 And I trigger "Add Element"
30 And I set the "Definition" property to "IfcElement"
31 And I set the "Class" property to "IfcFurniture"
32 And I set the "Representation" property to "Custom Extruded Solid"
33 And I click "OK"
34 And the object "IfcFurniture/Unnamed" exists
35 And I toggle edit mode
36 And the object "Item/IfcExtrudedAreaSolid/77" exists
37 And I open the "Add Item" menu
38 And I click "Half Space Solid"
39 And I deselect all objects
40 And I toggle edit mode
41 And I select the object "IfcFurniture/Unnamed"
42 And I toggle edit mode
43 And I select the object "Item/IfcHalfSpaceSolid/90"
44 When I delete the selected objects
45 And I toggle edit mode
46 And I select the object "IfcFurniture/Unnamed"
47 And I look at the "Property Sets" panel
48 Then I don't see "BBIM_Boolean"
49 And I don't see "[91]"