on xenial help sign in
Add a desperate measure
commita3e28689c6d9cddcc60bd2413f55f49c56f10f1a authorDaniel d'Andrada <daniel.dandrada@canonical.com> dateWed 31 Jul 2013, 10:19 (13 years ago) parentbbf9b64
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() {