fix bim.assign_container uses after a9a4b0c + add TODOs

This commit is contained in:
Andrej730
2024-07-31 15:46:26 +05:00
parent 93ea1f98ac
commit 94ed0cd59c
5 changed files with 15 additions and 5 deletions
@@ -27,7 +27,8 @@ Scenario: Assign container
And the object "IfcWall/Cube" is selected
And I press "bim.enable_editing_container"
And the variable "site" is "tool.Ifc.get().by_type('IfcSite')[0].id()"
When I press "bim.assign_container(structure={site})"
And I press "bim.set_default_container(container={site})"
When I press "bim.assign_container()"
Then the object "IfcWall/Cube" is in the collection "IfcSite/My Site"
Scenario: Copy to container
@@ -80,7 +81,8 @@ Scenario: Select container
And the object "IfcWall/Cube" is selected
And I press "bim.enable_editing_container"
And the variable "site" is "tool.Ifc.get().by_type('IfcSite')[0].id()"
And I press "bim.assign_container(structure={site})"
And I press "bim.set_default_container(container={site})"
And I press "bim.assign_container()"
When I press "bim.select_container"
Then nothing happens
@@ -94,7 +96,8 @@ Scenario: Select similar container
And the object "IfcWall/Cube" is selected
And I press "bim.enable_editing_container"
And the variable "site" is "tool.Ifc.get().by_type('IfcSite')[0].id()"
And I press "bim.assign_container(structure={site})"
And I press "bim.set_default_container(container={site})"
And I press "bim.assign_container()"
When I press "bim.select_similar_container"
Then nothing happens