Debian Codegraph @

src/bonsai/test/bim/feature/light.feature

raw
1 @light
2 Feature: Light
3
4 Scenario: Viewing default solar settings
5 Given an empty IFC project
6 And I look at the "Solar Access / Shadow" panel
7 Then I see "Etc/GMT"
8
9 Scenario: Changing the month
10 Given an empty IFC project
11 And I look at the "Solar Access / Shadow" panel
12 When I set the "Year" property to "2024"
13 And I set the "January" property to "3"
14 Then I see "March"
15 And I see "Sunrise: 06:08:54"
16
17 Scenario: Changing the date
18 Given an empty IFC project
19 And I look at the "Solar Access / Shadow" panel
20 When I set the "Year" property to "2024"
21 And I set the "Date" property to "3"
22 Then I see "Sunrise: 06:00:31"
23
24 Scenario: Changing the time
25 Given an empty IFC project
26 And I look at the "Solar Access / Shadow" panel
27 When I set the "Hour" property to "13"
28 And I set the "Minute" property to "30"
29 Then I see "Local Time: 13:30:00"
30
31 Scenario: Automatic timezone detection based on lat / long
32 Given an empty IFC project
33 And I look at the "Solar Access / Shadow" panel
34 And I set the "Year" property to "2024"
35 When I set the "Latitude" property to "10.0"
36 And I set the "Longitude" property to "20.0"
37 Then I see "Africa/Ndjamena"
38 And I see "Sunrise: 05:56:42"
39
40 Scenario: Display the sun path
41 Given an empty IFC project
42 And I look at the "Solar Access / Shadow" panel
43 When I click "Display Sun Path"
44 And I set the "Sun Path Size" property to "100.0"
45 Then nothing happens
46
47 Scenario: See no shadows
48 Given an empty IFC project
49 When I look at the "Solar Access / Shadow" panel
50 Then I don't see "Sun Intensity"
51 And I don't see "Shadow Intensity"
52
53 Scenario: Display shaded shadows
54 Given an empty IFC project
55 And I look at the "Solar Access / Shadow" panel
56 When I set the "Shadow Mode" property to "Shaded"
57 And I set the "Shadow Intensity" property to "1.0"
58 And I don't see "Sun Intensity"
59 Then nothing happens
60
61 Scenario: Display rendered shadows
62 Given an empty IFC project
63 And I look at the "Solar Access / Shadow" panel
64 When I set the "Shadow Mode" property to "Rendered"
65 And I set the "Sun Intensity" property to "1.0"
66 And I don't see "Shadow Intensity"
67 Then nothing happens
68
69 Scenario: View from sun
70 Given an empty IFC project
71 And I look at the "Solar Access / Shadow" panel
72 When I click "View From Sun"
73 Then nothing happens