wait for animations to be finished before destroying the test
commita2a8b50e6bd23d0d3db43227972b1666600d4991
authorMichael Zanetti <michael.zanetti@canonical.com>
dateThu 12 Nov 2015, 19:04 (11 years ago)
parent6796ff9
tests/qmltests/tst_Shell.qml+1
@@ -313,6 +313,7 @@ Rectangle {
313313 }
314314
315315 function cleanup() {
316+ waitForRendering(shell);
316317 mouseEmulation.checked = true;
317318 tryCompare(shell, "enabled", true); // make sure greeter didn't leave us in disabled state
318319 tearDown();