Fix failing tests in Bonsai

This commit is contained in:
Dion Moult
2024-09-01 14:08:52 +10:00
parent e072870fd3
commit 296ebf5253
3 changed files with 20 additions and 24 deletions
+1 -2
View File
@@ -5,7 +5,6 @@ Scenario: Viewing default solar settings
Given an empty IFC project
And I look at the "Solar Access / Shadow" panel
Then I see "Etc/GMT"
And I see "Sunrise: 06:02:50"
Scenario: Changing the month
Given an empty IFC project
@@ -33,7 +32,7 @@ Scenario: Automatic timezone detection based on lat / long
When I set the "Latitude" property to "10.0"
And I set the "Longitude" property to "20.0"
Then I see "Africa/Ndjamena"
And I see "Sunrise: 05:29:43"
And I see "Sunrise: 05:56:42"
Scenario: Display the sun path
Given an empty IFC project
+1 -1
View File
@@ -27,7 +27,7 @@ Scenario: Resize to storey
And the object "IfcWall/Cube" is selected
And the variable "storey" is "tool.Ifc.get().by_type('IfcBuildingStorey')[0].id()"
And I press "bim.set_default_container(container={storey})"
And I press "bim.assign_container()"
And I press "bim.assign_container(container={storey})"
When I press "bim.resize_to_storey(total_storeys=1)"
Then nothing happens