@@ -37,10 +37,6 @@ Item {
3737
3838 Scopes {
3939 id: scopes
40−
41− onLoadedChanged: {
42− genericScopeView.scope = scopes.getScope(2)
43− }
4440 }
4541
4642 property Item applicationManager: Item {
@@ -179,6 +175,14 @@ Item {
179175 mouseClick(header0, header0.width / 2, header0.height / 2);
180176 tryCompare(category, "filtered", true);
181177 }
178+
179+ function test_haeder_logo() {
180+ genericScopeView.scope = scopes.getScope(3);
181+
182+ var image = findChild(genericScopeView, "titleImage");
183+ verify(image, "Could not find the title image");
184+ compare(image.source, Qt.resolvedUrl("../Components/tst_PageHeader/logo-ubuntu-orange.svg"), "Title image has the wrong source");
185+ }
182186 }
183187 }
184188