From da8e5dced1ac0309f38e32f8d6d439aa6429ab1e Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Mon, 6 Mar 2023 18:36:29 +0500 Subject: [PATCH] Added test to check #2839 --- src/blenderbim/test/bim/feature/model.feature | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/blenderbim/test/bim/feature/model.feature b/src/blenderbim/test/bim/feature/model.feature index 7b24e4d419..b48b723e66 100644 --- a/src/blenderbim/test/bim/feature/model.feature +++ b/src/blenderbim/test/bim/feature/model.feature @@ -504,6 +504,7 @@ Scenario: Create window type based on window modifier, add an occurence of it an And I press "bim.hotkey(hotkey='S_A')" And I press "bim.enable_editing_window()" And I press "bim.finish_editing_window()" + Then nothing happens Scenario: Create door type based on door modifier, add an occurence of it and edit it Given an empty IFC project @@ -513,4 +514,14 @@ Scenario: Create door type based on door modifier, add an occurence of it and ed And I press "bim.add_type()" And I press "bim.hotkey(hotkey='S_A')" And I press "bim.enable_editing_door()" - And I press "bim.finish_editing_door()" \ No newline at end of file + And I press "bim.finish_editing_door()" + Then nothing happens + +Scenario: Create a door, undo and create a new door + Given an empty IFC project + And I prepare to undo + And I press "mesh.add_door()" + And I undo + And I press "mesh.add_door()" + Then nothing happens + And the object "IfcDoor/IfcDoor" exists \ No newline at end of file