diff --git a/src/blenderbim/test/bim/feature/void.feature b/src/blenderbim/test/bim/feature/void.feature index 5d272779b6..e9a12ea8bc 100644 --- a/src/blenderbim/test/bim/feature/void.feature +++ b/src/blenderbim/test/bim/feature/void.feature @@ -120,7 +120,8 @@ Scenario: Remove a non dynamic opening manually And additionally the object "Cube" is selected And I press "bim.add_opening(opening='Cube', obj='IfcWall/Cube')" And the object "IfcWall/Cube" is selected - And I press "bim.switch_representation(ifc_definition_id=86, should_reload=True)" + And the variable "representation" is "IfcStore.get_file().by_type('IfcWall')[0].Representation.Representations[1].id()" + And I press "bim.switch_representation(ifc_definition_id={representation}, should_reload=True)" Then the object "IfcWall/Cube" has no boolean difference by "IfcOpeningElement/Cube" And the object "IfcWall/Cube" has "16" vertices And the variable "opening_id" is "IfcStore.get_file().by_type('IfcOpeningElement')[0].id()" @@ -310,4 +311,4 @@ Scenario: Remove a filling using deletion on the opening And the object "IfcOpeningElement/Cube" is selected And I delete the selected objects Then the object "IfcDoor/Cube" is an "IfcDoor" - And the object "IfcDoor/Cube" is not a filling \ No newline at end of file + And the object "IfcDoor/Cube" is not a filling