Debian Codegraph @

src/bonsai/test/bim/feature/debug.feature

raw
1 @debug
2 Feature: Debug
3
4 Scenario: Select express file
5 Given an empty Blender session
6 When I press "bim.select_express_file(filepath='{cwd}/test/files/test.exp')"
7 Then nothing happens
8
9 Scenario: Parse express
10 Given an empty Blender session
11 And I press "bim.select_express_file(filepath='{cwd}/test/files/test.exp')"
12 When I press "bim.parse_express"
13 And I evaluate expression "os.remove('{cwd}/test/files/test.exp.cache.dat')"
14 Then nothing happens
15
16 Scenario: Use the inspector - inspect from STEP ID
17 Given an empty Blender session
18 And I press "bim.create_project"
19 When I set "scene.BIMDebugProperties.active_step_id" to "1"
20 And I press "bim.inspect_from_step_id(step_id=1)"
21 Then nothing happens
22
23 Scenario: Use the inspector - inspect from object
24 Given an empty Blender session
25 And I press "bim.create_project"
26 When the object "IfcProject/My Project" is selected
27 And I press "bim.inspect_from_object"
28 Then nothing happens