Update colour by property test to reflect new behaviour of only showing geometry not empties

ALL (feature) TESTS PASS YESS
This commit is contained in:
Dion Moult
2025-05-18 19:23:34 +10:00
parent 3a37bcdcaa
commit 404bf13a18
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -24,9 +24,12 @@ Scenario: Edit filter query
Scenario: Colour by property - default class query
Given an empty IFC project
And I load the demo construction library
And I set "scene.BIMModelProperties.ifc_class" to "IfcColumnType"
And I add the construction type
When I look at the "Colour By Property" panel
And I click "Colour by Property"
Then the "BIM_UL_colourscheme" list has 4 items
Then the "BIM_UL_colourscheme" list has 1 items
Scenario: Colour by property - no query
Given an empty IFC project
+1 -1
View File
@@ -472,7 +472,7 @@ def i_dont_see_text(text):
def i_dont_see_the_name_list(name):
assert panel_spy
panel_spy.refresh_spy()
assert name not in [l["listtype_name"] for l in panel_spy.spied_lists]
assert name not in [l.spied_data["listtype_name"] for l in panel_spy.spied_lists]
@given(parsers.parse('I see the "{prop}" property'))