Fix failing tests in preparation for release.

This commit is contained in:
Dion Moult
2023-05-06 11:05:13 +10:00
parent 89310d19cb
commit b8431a8c33
12 changed files with 88 additions and 62 deletions
@@ -23,7 +23,7 @@ Scenario: Create drawing
And I press "bim.add_drawing"
And the variable "drawing" is "IfcStore.get_file().by_type('IfcAnnotation')[0].id()"
And I set "scene.DocProperties.active_drawing_index" to "0"
And I press "bim.activate_view(drawing={drawing})"
And I press "bim.activate_drawing(drawing={drawing})"
When I press "bim.create_drawing"
Then nothing happens
@@ -41,7 +41,7 @@ Scenario: Create drawing after deleting a duplicated object
And I press "bim.add_drawing"
And the variable "drawing" is "IfcStore.get_file().by_type('IfcAnnotation')[0].id()"
And I set "scene.DocProperties.active_drawing_index" to "0"
And I press "bim.activate_view(drawing={drawing})"
And I press "bim.activate_drawing(drawing={drawing})"
And I press "bim.create_drawing"
And the object "IfcWall/Cube" is selected
And I press "object.delete(use_global=False)"