test_feature - use common prompts for loading/saving temp projects

This commit is contained in:
Andrej730
2025-11-17 11:36:56 +05:00
parent e46a99870b
commit fb902a04f5
4 changed files with 33 additions and 30 deletions
+2 -3
View File
@@ -352,9 +352,8 @@ Scenario: Override duplicate move - copying a coloured representation
And the variable "style" is "{ifc}.by_type('IfcSurfaceStyle')[0].id()"
And I press "bim.assign_style_to_selected(style_id={style})"
When I duplicate the selected objects
And I press "bim.save_project(filepath='{cwd}/test/files/temp/export.ifc')"
And an empty Blender session is started
And I press "bim.load_project(filepath='{cwd}/test/files/temp/export.ifc', should_start_fresh_session=False)"
And I save IFC project
And I load previously saved IFC project
Then the material "Style" colour is "1,0,0,1"
And the object "IfcWall/Cube" has the material "Style"
And the object "IfcWall/Cube.001" has the material "Style"