@@ -359,77 +359,77 @@ Scenario: Unlink IFC
359359
360360Scenario : Export IFC - blank project
361361 Given an empty IFC project
362- When I press "export_ifc.bim(filepath='{cwd}/test/files/export.ifc')"
362+ When I press "export_ifc.bim(filepath='{cwd}/test/files/temp/ export.ifc')"
363363 Then nothing happens
364364
365365Scenario : Export IFC - with basic contents
366366 Given an empty Blender session
367367 And I press "bim.load_project(filepath='{cwd}/test/files/basic.ifc')"
368- When I press "export_ifc.bim(filepath='{cwd}/test/files/export.ifc')"
369- Then "scene.BIMProperties.ifc_file" is "{cwd}/test/files/export.ifc"
368+ When I press "export_ifc.bim(filepath='{cwd}/test/files/temp/ export.ifc')"
369+ Then "scene.BIMProperties.ifc_file" is "{cwd}/test/files/temp/ export.ifc"
370370
371371Scenario : Export IFC - with basic contents and saving as another file
372372 Given an empty Blender session
373373 And I press "bim.load_project(filepath='{cwd}/test/files/basic.ifc')"
374- When I press "export_ifc.bim(filepath='{cwd}/test/files/export.ifc', should_save_as=True)"
375- Then "scene.BIMProperties.ifc_file" is "{cwd}/test/files/export.ifc"
374+ When I press "export_ifc.bim(filepath='{cwd}/test/files/temp/ export.ifc', should_save_as=True)"
375+ Then "scene.BIMProperties.ifc_file" is "{cwd}/test/files/temp/ export.ifc"
376376
377377Scenario : Export IFC - with basic contents and saving as IfcJSON where import is not supported
378378 Given an empty Blender session
379379 And I press "bim.load_project(filepath='{cwd}/test/files/basic.ifc')"
380- When I press "export_ifc.bim(filepath='{cwd}/test/files/export.ifcjson', should_save_as=True)"
380+ When I press "export_ifc.bim(filepath='{cwd}/test/files/temp/ export.ifcjson', should_save_as=True)"
381381 Then "scene.BIMProperties.ifc_file" is "{cwd}/test/files/basic.ifc"
382382
383383Scenario : Export IFC - with basic contents and round-tripping an IfcZip
384384 Given an empty Blender session
385385 And I press "bim.load_project(filepath='{cwd}/test/files/basic.ifc')"
386- When I press "export_ifc.bim(filepath='{cwd}/test/files/export.ifczip', should_save_as=True)"
386+ When I press "export_ifc.bim(filepath='{cwd}/test/files/temp/ export.ifczip', should_save_as=True)"
387387 Then "scene.BIMProperties.ifc_file" is "{cwd}/test/files/basic.ifc"
388388 When an empty Blender session is started
389- And I press "bim.load_project(filepath='{cwd}/test/files/export.ifczip')"
389+ And I press "bim.load_project(filepath='{cwd}/test/files/temp/ export.ifczip')"
390390 Then the object "IfcProject/My Project" is an "IfcProject"
391391
392392Scenario : Export IFC - with basic contents and saving as a relative path
393393 Given an empty Blender session
394394 And I press "bim.load_project(filepath='{cwd}/test/files/basic.ifc')"
395- When I press "wm.save_mainfile(filepath='{cwd}/test/files/export.blend')"
396- And I press "export_ifc.bim(filepath='{cwd}/test/files/export.ifc', use_relative_path=True)"
395+ When I press "wm.save_mainfile(filepath='{cwd}/test/files/temp/ export.blend')"
396+ And I press "export_ifc.bim(filepath='{cwd}/test/files/temp/ export.ifc', use_relative_path=True)"
397397 Then "scene.BIMProperties.ifc_file" is "export.ifc"
398398
399399Scenario : Export IFC - with deleted objects synchronised
400400 Given an empty IFC project
401401 When the object "IfcBuildingStorey/My Storey" is selected
402402 And I press "object.delete"
403- And I press "export_ifc.bim(filepath='{cwd}/test/files/export.ifc')"
403+ And I press "export_ifc.bim(filepath='{cwd}/test/files/temp/ export.ifc')"
404404 And an empty Blender session is started
405- And I press "bim.load_project(filepath='{cwd}/test/files/export.ifc')"
405+ And I press "bim.load_project(filepath='{cwd}/test/files/temp/ export.ifc')"
406406 Then the object "IfcBuildingStorey/My Storey" does not exist
407407
408408Scenario : Export IFC - with moved object location synchronised
409409 Given an empty IFC project
410410 When the object "IfcBuildingStorey/My Storey" is moved to "0,0,1"
411- And I press "export_ifc.bim(filepath='{cwd}/test/files/export.ifc')"
411+ And I press "export_ifc.bim(filepath='{cwd}/test/files/temp/ export.ifc')"
412412 And an empty Blender session is started
413- And I press "bim.load_project(filepath='{cwd}/test/files/export.ifc')"
413+ And I press "bim.load_project(filepath='{cwd}/test/files/temp/ export.ifc')"
414414 Then the object "IfcBuildingStorey/My Storey" is at "0,0,1"
415415
416416Scenario : Export IFC - with moved grid axis location synchronised
417417 Given an empty IFC project
418418 And I press "mesh.add_grid"
419419 When the object "IfcGridAxis/01" is moved to "1,0,0"
420- And I press "export_ifc.bim(filepath='{cwd}/test/files/export.ifc')"
420+ And I press "export_ifc.bim(filepath='{cwd}/test/files/temp/ export.ifc')"
421421 And an empty Blender session is started
422- And I press "bim.load_project(filepath='{cwd}/test/files/export.ifc')"
422+ And I press "bim.load_project(filepath='{cwd}/test/files/temp/ export.ifc')"
423423 Then the object "IfcGridAxis/01" bottom left corner is at "1,-2,0"
424424
425425Scenario : Export IFC - with changed spatial container synchronised
426426 Given an empty Blender session
427427 And I press "bim.load_project(filepath='{cwd}/test/files/basic.ifc')"
428428 Then the object "IfcSlab/Slab" is in the collection "IfcBuildingStorey/Ground Floor"
429429 When the object "IfcSlab/Slab" is placed in the collection "IfcBuildingStorey/Level 1"
430- And I press "export_ifc.bim(filepath='{cwd}/test/files/export.ifc')"
430+ And I press "export_ifc.bim(filepath='{cwd}/test/files/temp/ export.ifc')"
431431 And an empty Blender session is started
432- And I press "bim.load_project(filepath='{cwd}/test/files/export.ifc')"
432+ And I press "bim.load_project(filepath='{cwd}/test/files/temp/ export.ifc')"
433433 Then the object "IfcSlab/Slab" is in the collection "IfcBuildingStorey/Level 1"
434434
435435Scenario : Export IFC - with changed object scale synchronised
@@ -440,9 +440,9 @@ Scenario: Export IFC - with changed object scale synchronised
440440 And I press "bim.assign_class"
441441 And the object "IfcWall/Cube" is selected
442442 When the object "IfcWall/Cube" is scaled to "2"
443- And I press "export_ifc.bim(filepath='{cwd}/test/files/export.ifc')"
443+ And I press "export_ifc.bim(filepath='{cwd}/test/files/temp/ export.ifc')"
444444 And an empty Blender session is started
445- And I press "bim.load_project(filepath='{cwd}/test/files/export.ifc')"
445+ And I press "bim.load_project(filepath='{cwd}/test/files/temp/ export.ifc')"
446446 Then the object "IfcWall/Cube" dimensions are "4,4,4"
447447
448448Scenario : Export IFC - with changed style colour synchronised
@@ -454,9 +454,9 @@ Scenario: Export IFC - with changed style colour synchronised
454454 And I press "bim.assign_class"
455455 And the object "IfcWall/Cube" is selected
456456 When the material "Material" colour is set to "1,0,0,1"
457- And I press "export_ifc.bim(filepath='{cwd}/test/files/export.ifc')"
457+ And I press "export_ifc.bim(filepath='{cwd}/test/files/temp/ export.ifc')"
458458 And an empty Blender session is started
459- And I press "bim.load_project(filepath='{cwd}/test/files/export.ifc')"
459+ And I press "bim.load_project(filepath='{cwd}/test/files/temp/ export.ifc')"
460460 Then the material "Material" colour is "1,0,0,1"
461461
462462Scenario : Export IFC - with changed style element synchronised
@@ -469,7 +469,7 @@ Scenario: Export IFC - with changed style element synchronised
469469 And the object "IfcWall/Cube" is selected
470470 When I add a material
471471 And the material "Material.001" colour is set to "1,0,0,1"
472- And I press "export_ifc.bim(filepath='{cwd}/test/files/export.ifc')"
472+ And I press "export_ifc.bim(filepath='{cwd}/test/files/temp/ export.ifc')"
473473 And an empty Blender session is started
474- And I press "bim.load_project(filepath='{cwd}/test/files/export.ifc')"
474+ And I press "bim.load_project(filepath='{cwd}/test/files/temp/ export.ifc')"
475475 Then the material "Material.001" colour is "1,0,0,1"
0 commit comments