make sure appPreview is fully loaded before starting tests
commit6321533494813a64e0828c6119a23420ea3a08db
authorMichael Zanetti <michael.zanetti@canonical.com>
dateWed 2 Oct 2013, 16:22 (13 years ago)
parent62b4def
tests/qmltests/Dash/Apps/tst_AppPreview.qml+4
@@ -112,6 +112,10 @@ Item {
112112 name: "AppPreview"
113113 when: windowShown
114114
115+ function init() {
116+ waitForRendering(appPreview)
117+ }
118+
115119 function cleanup() {
116120 root.calls = new Array();
117121 sendPreviewSpy.clear();