on xenial help sign in
Update scope load checks in init.
68b7a6cRodney Dawes
tests/qmltests/Dash/tst_Dash.qml+1−1
@@ -58,7 +58,7 @@ Item {
58 tryCompare(dashContentList, "count", 0);
58 tryCompare(dashContentList, "count", 0);
59 scopes.load();
59 scopes.load();
60 tryCompare(dashContentList, "currentIndex", 0);
60 tryCompare(dashContentList, "currentIndex", 0);
61− tryCompare(dashContentList, "count", 28);
61+ tryCompare(dashContentList, "count", 27);
62 tryCompare(scopes, "loaded", true);
62 tryCompare(scopes, "loaded", true);
63 tryCompareFunction(function() {
63 tryCompareFunction(function() {
64 var mockScope1Loader = findChild(dash, "scopeLoader0");
64 var mockScope1Loader = findChild(dash, "scopeLoader0");
tests/qmltests/Dash/tst_DashContent.qml+1−1
@@ -70,7 +70,7 @@ Item {
70 function loadScopes() {
70 function loadScopes() {
71 scopeLoadedSpy.clear();
71 scopeLoadedSpy.clear();
72 scopesModel.load();
72 scopesModel.load();
73− tryCompare(scopeLoadedSpy, "count", 28, 15000);
73+ tryCompare(scopeLoadedSpy, "count", 27, 15000);
74 tryCompare(scopesModel, "loaded", true);
74 tryCompare(scopesModel, "loaded", true);
75 tryCompareFunction(function() {
75 tryCompareFunction(function() {
76 var mockScope1Loader = findChild(shell, "scopeLoader0");
76 var mockScope1Loader = findChild(shell, "scopeLoader0");