Debian Codegraph @

src/bonsai/test/bim/feature/georeference.feature

raw
1 @georeference
2 Feature: Georeference
3
4 Scenario: Add georeferencing
5 Given an empty IFC project
6 And I look at the "Georeferencing" panel
7 And I see "Not Georeferenced"
8 And I don't see "Projected CRS"
9 When I click "ADD"
10 Then I see "Projected CRS"
11 And I see "EPSG:3857"
12
13 Scenario: Enable editing georeferencing
14 Given an empty IFC project
15 And I look at the "Georeferencing" panel
16 And I click "ADD"
17 When I click "GREASEPENCIL"
18 Then I see the "Name" property
19
20 Scenario: Remove georeferencing
21 Given an empty IFC project
22 And I look at the "Georeferencing" panel
23 And I click "ADD"
24 When I click "X"
25 Then I see "Not Georeferenced"
26
27 Scenario: Edit georeferencing
28 Given an empty IFC project
29 And I look at the "Georeferencing" panel
30 And I click "ADD"
31 And I click "GREASEPENCIL"
32 When I click "CHECKMARK"
33 Then I don't see the "Name" property
34 And I see "EPSG:3857"
35
36 Scenario: Disable editing georeferencing
37 Given an empty IFC project
38 And I look at the "Georeferencing" panel
39 And I click "ADD"
40 And I click "GREASEPENCIL"
41 When I click "CANCEL"
42 Then I don't see the "Name" property
43 And I see "EPSG:3857"
44
45 Scenario: Get cursor location
46 Given an empty IFC project
47 And I look at the "Georeferencing Calculator" panel
48 And I see the "Local (mm)" property is "0,0,0"
49 And I see the "Map (n/a)" property is "0,0,0"
50 When I click "TRACKER"
51 Then I see the "Local (mm)" property is "0.0,0.0,0.0"
52 And I see the "Map (n/a)" property is "0.0,0.0,0.0"
53
54 Scenario: Convert local to map
55 Given an empty IFC project
56 And I look at the "Georeferencing Calculator" panel
57 And I see the "Map (n/a)" property is "0,0,0"
58 When I set the "Local (mm)" property to "0,0,0"
59 And I look at the "Georeferencing Calculator" panel
60 Then I see the "Map (n/a)" property is "0.0,0.0,0.0"
61
62 Scenario: Convert map to local
63 Given an empty IFC project
64 And I look at the "Georeferencing Calculator" panel
65 And I see the "Local (mm)" property is "0,0,0"
66 When I set the "Map (n/a)" property to "0,0,0"
67 And I look at the "Georeferencing Calculator" panel
68 Then I see the "Local (mm)" property is "0.0,0.0,0.0"