@@ -68,7 +68,7 @@ Item {
68 function loadScopes() {
68 function loadScopes() {
69 scopeLoadedSpy.clear();
69 scopeLoadedSpy.clear();
70 scopesModel.load();
70 scopesModel.load();
71− tryCompare(scopeLoadedSpy, "count", 4);
71+ tryCompare(scopeLoadedSpy, "count", 10);
74 function init() {
74 function init() {
@@ -111,7 +111,8 @@ Item {
112 loadScopes();
112 loadScopes();
114+ compare(dashContentList.count, 10);
114− verify(dashContentList.currentIndex >= 0 && dashContentList.currentIndex < 5);
115+ verify(dashContentList.currentIndex >= 0 && dashContentList.currentIndex < dashContentList.count);
117 function test_show_header_on_list_movement() {
118 function test_show_header_on_list_movement() {
@@ -164,7 +165,7 @@ Item {
165 // test greater than scope count.
166 // test greater than scope count.
166 var currentScopeIndex = dashContent.currentIndex;
167 var currentScopeIndex = dashContent.currentIndex;
167− dashContent.setCurrentScopeAtIndex(8, true, false);
168+ dashContent.setCurrentScopeAtIndex(18, true, false);
168 compare(dashContent.currentIndex, currentScopeIndex, "Scope should not change if changing to greater index than count");
169 compare(dashContent.currentIndex, currentScopeIndex, "Scope should not change if changing to greater index than count");