on xenial help sign in
Update scope load checks in init.
commit68b7a6c75b773d373b379d4c5aac67f85de21fa2 authorRodney Dawes <rodney.dawes@canonical.com> dateFri 27 Jan 2017, 12:01 (10 years ago) parentee14750
2 files changed+2−2
tests/qmltests/Dash/tst_Dash.qml+1−1 tests/qmltests/Dash/tst_DashContent.qml+1−1
tests/qmltests/Dash/tst_Dash.qml+1−1
@@ -58,7 +58,7 @@ Item {
5858 tryCompare(dashContentList, "count", 0);
5959 scopes.load();
6060 tryCompare(dashContentList, "currentIndex", 0);
61− tryCompare(dashContentList, "count", 28);
61+ tryCompare(dashContentList, "count", 27);
6262 tryCompare(scopes, "loaded", true);
6363 tryCompareFunction(function() {
6464 var mockScope1Loader = findChild(dash, "scopeLoader0");
tests/qmltests/Dash/tst_DashContent.qml+1−1
@@ -70,7 +70,7 @@ Item {
7070 function loadScopes() {
7171 scopeLoadedSpy.clear();
7272 scopesModel.load();
73− tryCompare(scopeLoadedSpy, "count", 28, 15000);
73+ tryCompare(scopeLoadedSpy, "count", 27, 15000);
7474 tryCompare(scopesModel, "loaded", true);
7575 tryCompareFunction(function() {
7676 var mockScope1Loader = findChild(shell, "scopeLoader0");