fix flakyness in tst_LazyImage with xvfb
commit4ade452ba0e77f96f7495d9b50707d6fc773a0b1
authorMichael Zanetti <michael.zanetti@canonical.com>
dateTue 18 Mar 2014, 14:35 (13 years ago)
parent45af6fe
tests/qmltests/Components/tst_LazyImage.qml+1
@@ -152,6 +152,7 @@ Rectangle {
152152
153153 function test_lazyimage(data) {
154154 data.func();
155+ waitForRendering(baseRect);
155156
156157 if (data.transition) {
157158 // wait for the transition to complete