light.feature - more test fixes

This commit is contained in:
Andrej730
2025-06-26 19:56:46 +05:00
parent b7db741474
commit 1a67ce87a1
+13 -3
View File
@@ -10,7 +10,12 @@ Scenario: Changing the month
Given an empty IFC project
And I look at the "Solar Access / Shadow" panel
When I set the "Year" property to "2024"
And I set the "January" property to "3"
And I set the "month" property to "3"
And I set the "Date" property to "1"
And I set the "Hour" property to "0"
And I set the "Minute" property to "0"
And I set the "Latitude" property to "0"
And I set the "Longitude" property to "0"
Then I see "March"
And I see "Sunrise: 06:08:54"
@@ -18,7 +23,10 @@ Scenario: Changing the date
Given an empty IFC project
And I look at the "Solar Access / Shadow" panel
When I set the "Year" property to "2024"
And I set the "month" property to "1"
And I set the "Date" property to "3"
And I set the "Hour" property to "0"
And I set the "Minute" property to "0"
And I set the "Latitude" property to "0"
And I set the "Longitude" property to "0"
Then I see "Sunrise: 06:00:31"
@@ -28,14 +36,16 @@ Scenario: Changing the time
And I look at the "Solar Access / Shadow" panel
When I set the "Hour" property to "13"
And I set the "Minute" property to "30"
And I set the "Latitude" property to "0"
And I set the "Longitude" property to "0"
Then I see "Local Time: 13:30:00"
Scenario: Automatic timezone detection based on lat / long
Given an empty IFC project
And I look at the "Solar Access / Shadow" panel
And I set the "Year" property to "2024"
And I set the "month" property to "1"
And I set the "Date" property to "1"
And I set the "Hour" property to "0"
And I set the "Minute" property to "0"
When I set the "Latitude" property to "10.0"
And I set the "Longitude" property to "20.0"
Then I see "Africa/Ndjamena"