on xenial help sign in
Does this help?
commit478de30e53ea2b1b767ce042cfd2fc77f689be3e authorAlbert Astals <albert.astals@canonical.com> dateThu 25 Sep 2014, 17:25 (12 years ago) parent3e3b5b9
2 files changed+10
tests/qmltests/Dash/tst_Dash.qml+5 tests/qmltests/Dash/tst_DashContent.qml+5
tests/qmltests/Dash/tst_Dash.qml+5
@@ -60,6 +60,11 @@ Item {
6060 var mockScope1Loader = findChild(dash, "MockScope1 loader");
6161 return mockScope1Loader && mockScope1Loader.item != null; },
6262 true, 15000);
63+ tryCompareFunction(function() {
64+ var mockScope1Loader = findChild(dash, "MockScope1 loader");
65+ return mockScope1Loader && mockScope1Loader.status === Loader.Ready; },
66+ true, 15000);
67+ waitForRendering(findChild(dash, "MockScope1 loader").item);
6368 }
6469
6570 function get_scope_data() {
tests/qmltests/Dash/tst_DashContent.qml+5
@@ -76,6 +76,11 @@ Item {
7676 var mockScope1Loader = findChild(shell, "MockScope1 loader");
7777 return mockScope1Loader && mockScope1Loader.item != null; },
7878 true, 15000);
79+ tryCompareFunction(function() {
80+ var mockScope1Loader = findChild(dash, "MockScope1 loader");
81+ return mockScope1Loader && mockScope1Loader.status === Loader.Ready; },
82+ true, 15000);
83+ waitForRendering(findChild(dash, "MockScope1 loader").item);
7984 }
8085
8186 function init() {