on xenial help sign in
wait for animations to be finished before destroying the test
a2a8b50Michael Zanetti
tests/qmltests/tst_Shell.qml+1
@@ -313,6 +313,7 @@ Rectangle {
313 }
313 }
314
314
315 function cleanup() {
315 function cleanup() {
316+ waitForRendering(shell);
316 mouseEmulation.checked = true;
317 mouseEmulation.checked = true;
317 tryCompare(shell, "enabled", true); // make sure greeter didn't leave us in disabled state
318 tryCompare(shell, "enabled", true); // make sure greeter didn't leave us in disabled state
318 tearDown();
319 tearDown();