Move the mouse over the bfb before waiting for rendering
If the rendering takes too much the dismissTimer will kick and hide the launcher if we're not over the bfb already making the rest of the test fail
Approved by: Michael Zanetti
commit72323d73e34b242902c34cc2a6f2526faf64b801
authorAlbert Astals Cid <albert.astals@canonical.com>
dateFri 29 Jan 2016, 11:50 (11 years ago)
parent6d5062a84cae3f
tests/qmltests/tst_Shell.qml+1
@@ -1731,6 +1731,7 @@ Rectangle {
17311731
17321732 revealLauncherByEdgePushWithMouse();
17331733 tryCompare(launcher, "x", 0);
1734+ mouseMove(bfb, bfb.width / 2, bfb.height / 2)
17341735 waitForRendering(shell)
17351736
17361737 mouseClick(bfb, bfb.width / 2, bfb.height / 2)