Resolve #1749. You can now save as another IFC filename.

This commit is contained in:
Dion Moult
2021-11-06 21:41:31 +11:00
parent 5450233f8e
commit e868186897
3 changed files with 12 additions and 3 deletions
@@ -324,7 +324,13 @@ Scenario: Export IFC - with basic contents
Given an empty Blender session
And I press "bim.load_project(filepath='{cwd}/test/files/basic.ifc')"
When I press "export_ifc.bim(filepath='{cwd}/test/files/export.ifc')"
Then nothing happens
Then "scene.BIMProperties.ifc_file" is "{cwd}/test/files/basic.ifc"
Scenario: Export IFC - with basic contents and saving as another file
Given an empty Blender session
And I press "bim.load_project(filepath='{cwd}/test/files/basic.ifc')"
When I press "export_ifc.bim(filepath='{cwd}/test/files/export.ifc', should_save_as=True)"
Then "scene.BIMProperties.ifc_file" is "{cwd}/test/files/export.ifc"
Scenario: Export IFC - with deleted objects synchronised
Given an empty IFC project