try this
commit32a56982a2b13da361869fda4ef173e7b3ec5fa4
authorMichael Zanetti <michael.zanetti@canonical.com>
dateTue 2 Dec 2014, 09:45 (12 years ago)
parent41a859d
tests/qmltests/Stages/tst_PhoneStage.qml+1
@@ -134,6 +134,7 @@ Item {
134134 true /* beginTouch */, true /* endTouch */, units.gu(10), 50);
135135
136136 tryCompare(spreadView, "phase", 2);
137+ waitForRendering(phoneStage);
137138 }
138139
139140 function test_shortFlick() {