Fix attribute tests. Turns out latest pytest-bdd is stricter when parsing feature files and fails when encountering our blank demo tutorial file.

This commit is contained in:
Dion Moult
2025-01-30 17:59:13 +11:00
parent 838e22d27c
commit abec29af7f
2 changed files with 6 additions and 6 deletions
@@ -19,7 +19,7 @@ Scenario: Edit attributes
And the object "IfcSite/My Site" is selected
And I press "bim.enable_editing_attributes(obj='IfcSite/My Site')"
And I set "active_object.BIMAttributeProperties.attributes[1].string_value" to "Name"
When I press "bim.edit_attributes(obj='IfcSite/My Site')"
When I press "bim.edit_attributes"
Then the object "IfcSite/Name" is an "IfcSite"
And the object "IfcSite/My Site" does not exist
@@ -29,9 +29,9 @@ Scenario: Edit attributes - longitude / latitude
And I press "bim.enable_editing_attributes(obj='IfcSite/My Site')"
Then "active_object.BIMAttributeProperties.attributes[6].name" is "RefLatitude"
When I set "active_object.BIMAttributeProperties.attributes[6].string_value" to "[1,2]"
And I press "bim.edit_attributes(obj='IfcSite/My Site')"
And I press "bim.edit_attributes"
And I press "bim.enable_editing_attributes(obj='IfcSite/My Site')"
And I press "bim.edit_attributes(obj='IfcSite/My Site')"
And I press "bim.edit_attributes"
Then nothing happens
Scenario: Copy attribute to selected