@@ -1479,7 +1479,7 @@ Rectangle {
14791479 while (appRepeater.highlightedIndex != i && x <= 4000) {
14801480 x+=10;
14811481 mouseMove(shell, x, y)
1482− waitForRendering(shell)
1482+ wait(0); // spin the loop so bindings get evaluated
14831483 }
14841484 }
14851485
@@ -1510,7 +1510,7 @@ Rectangle {
15101510 while (appRepeater.highlightedIndex !== 2 && x <= 4000) {
15111511 x+=10;
15121512 mouseMove(shell, x, y)
1513− waitForRendering(shell)
1513+ wait(0); // spin the loop so bindings get evaluated
15141514 }
15151515 tryCompare(closeMouseArea, "enabled", true)
15161516
@@ -1556,7 +1556,7 @@ Rectangle {
15561556 while (appRepeater.highlightedIndex !== 2 && x <= 4000) {
15571557 x+=10;
15581558 mouseMove(shell, x, y)
1559− waitForRendering(shell)
1559+ wait(0); // spin the loop so bindings get evaluated
15601560 }
15611561 tryCompare(decoratedWindow, "highlightShown", true);
15621562