on xenial help sign in
Bring back the desperate measure
commit768933bb8bbf91b99bc1f7b57cb6e3f18d6c2e5c authorDaniel d'Andrada <daniel.dandrada@canonical.com> dateMon 9 Sep 2013, 11:33 (13 years ago) parentaa7ce91
1 file changed+5
tests/qmltests/tst_Shell.qml+5
tests/qmltests/tst_Shell.qml+5
@@ -63,6 +63,11 @@ Item {
6363 var homeLoader = findChild(dashContentList, "home.scope loader");
6464 verify(homeLoader);
6565 tryCompareFunction(function() {return homeLoader.item !== undefined;}, true);
66+
67+ // FIXME: Desperate measure to ensure Jenkins has the scene graph fully loaded
68+ // before it calls the test functions (otherwise findChild calls will fail).
69+ // The code above just didn't solve it.
70+ wait(2000);
6671 }
6772
6873 function cleanup() {