mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-06 07:51:47 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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'))
|
||||
|
||||
Reference in New Issue
Block a user