mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-23 01:50:01 +00:00
Fix feature tests after a11f81f
This commit is contained in:
@@ -872,8 +872,10 @@ Scenario: Export IFC - with basic contents and saving as a relative path
|
|||||||
|
|
||||||
Scenario: Export IFC - with deleted objects synchronised
|
Scenario: Export IFC - with deleted objects synchronised
|
||||||
Given an empty IFC project
|
Given an empty IFC project
|
||||||
When the object "IfcBuildingStorey/My Storey" is selected
|
And I look at the "Spatial Decomposition" panel
|
||||||
And I set "scene.BIMSpatialDecompositionProperties.is_locked" to "False"
|
When I set the "is_visible" property to "TRUE"
|
||||||
|
And the object "IfcBuildingStorey/My Storey" is selected
|
||||||
|
And I set the "is_locked" property to "FALSE"
|
||||||
And I delete the selected objects
|
And I delete the selected objects
|
||||||
And I press "bim.save_project(filepath='{cwd}/test/files/temp/export.ifc')"
|
And I press "bim.save_project(filepath='{cwd}/test/files/temp/export.ifc')"
|
||||||
And an empty Blender session is started
|
And an empty Blender session is started
|
||||||
|
|||||||
@@ -167,14 +167,19 @@ Scenario: Copy a wall
|
|||||||
|
|
||||||
Scenario: Copy a storey - when locked
|
Scenario: Copy a storey - when locked
|
||||||
Given an empty IFC project
|
Given an empty IFC project
|
||||||
|
And I look at the "Spatial Decomposition" panel
|
||||||
|
And I set the "is_visible" property to "TRUE"
|
||||||
And the object "IfcBuildingStorey/My Storey" is selected
|
And the object "IfcBuildingStorey/My Storey" is selected
|
||||||
Then I expect an error "Error: 'IfcBuildingStorey/My Storey' is locked. Unlock it via the Spatial panel in the Project Overview tab." when "i_duplicate_the_selected_objects()"
|
Then I expect an error "Error: 'IfcBuildingStorey/My Storey' is locked. Unlock it via the Spatial panel in the Project Overview tab." when "i_duplicate_the_selected_objects()"
|
||||||
Then the object "IfcBuildingStorey/My Storey.001" does not exist
|
Then the object "IfcBuildingStorey/My Storey.001" does not exist
|
||||||
|
|
||||||
Scenario: Copy a storey - when unlocked
|
Scenario: Copy a storey - when unlocked
|
||||||
Given an empty IFC project
|
Given an empty IFC project
|
||||||
|
And I look at the "Spatial Decomposition" panel
|
||||||
|
And I set the "is_visible" property to "TRUE"
|
||||||
|
And I set "scene.BIMSpatialDecompositionProperties.is_visible" to "True"
|
||||||
And the object "IfcBuildingStorey/My Storey" is selected
|
And the object "IfcBuildingStorey/My Storey" is selected
|
||||||
And I set "scene.BIMSpatialDecompositionProperties.is_locked" to "False"
|
And I set the "is_locked" property to "FALSE"
|
||||||
When I duplicate the selected objects
|
When I duplicate the selected objects
|
||||||
Then the object "IfcBuildingStorey/My Storey" and "IfcBuildingStorey/My Storey.001" are different elements
|
Then the object "IfcBuildingStorey/My Storey" and "IfcBuildingStorey/My Storey.001" are different elements
|
||||||
And the object "IfcBuildingStorey/My Storey" is in the collection "IfcBuildingStorey/My Storey"
|
And the object "IfcBuildingStorey/My Storey" is in the collection "IfcBuildingStorey/My Storey"
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ Scenario: Set default container
|
|||||||
Scenario: Select container
|
Scenario: Select container
|
||||||
Given an empty IFC project
|
Given an empty IFC project
|
||||||
And I look at the "Spatial Decomposition" panel
|
And I look at the "Spatial Decomposition" panel
|
||||||
|
And I set the "is_visible" property to "TRUE"
|
||||||
When I select the row where I see "My Building" in the "1st" list
|
When I select the row where I see "My Building" in the "1st" list
|
||||||
And I click "OBJECT_DATA"
|
And I click "OBJECT_DATA"
|
||||||
Then the object "IfcBuilding/My Building" is selected
|
Then the object "IfcBuilding/My Building" is selected
|
||||||
|
|||||||
Reference in New Issue
Block a user