diff --git a/tests/system/shared/project_explorer.py b/tests/system/shared/project_explorer.py index 447b8057d5b..f74e3a107e8 100644 --- a/tests/system/shared/project_explorer.py +++ b/tests/system/shared/project_explorer.py @@ -24,6 +24,9 @@ def iterateConfiguredKits(): kitIndices = dumpIndices(treeView.model(), waitForObject(bAndRIndex)) configuredKitNames = map(lambda t: str(t.data(0)), filter(__kitIsActivated__, kitIndices)) + # Remove hide/show entries which are in tree but not kits + configuredKitNames = filter(lambda n: n != "Hide Inactive Kits" and n != "Show All Kits", + configuredKitNames) return map(Targets.getIdForTargetName, configuredKitNames)