@@ -61,6 +61,11 @@ Item {
6161 signalName: "movementStarted"
6262 }
6363
64+ SignalSpy {
65+ id: loadedSpy
66+ signalName: "loaded"
67+ }
68+
6469 UT.UnityTestCase {
6570 name: "DashContent"
6671 when: scopesModel.loaded && windowShown
@@ -78,6 +83,7 @@ Item {
7883
7984 function cleanup() {
8085 movementStartedSpy.clear();
86+ loadedSpy.clear();
8187 dashContent.visible = true;
8288
8389 var dashContentList = findChild(dashContent, "dashContentList");
@@ -135,13 +141,12 @@ Item {
135141
136142 function test_set_current_scope_reset() {
137143 var dashContentList = findChild(dashContent, "dashContentList");
138− verify(dashContentList != undefined);
144+ verify(dashContentList, "Couldn't find dashContentList");
139145 var scope = findChild(dashContent, "MockScope1 loader");
140− waitForRendering(scope);
141146
142− var categoryListView = findChild(dashContentList, "categoryListView");
143− waitForRendering(categoryListView);
147+ tryCompare(scope, "status", Loader.Ready);
144148
149+ var categoryListView = findChild(dashContentList, "categoryListView");
145150 categoryListView.contentY = units.gu(10);
146151
147152 compare(dashContentList.currentItem.item.objectName, "MockScope1")