@@ -26,6 +26,7 @@ TestCase {
2626 // This is needed for waitForRendering calls to return
2727 // if the watched element already got rendered
2828 Rectangle {
29+ id: rotatingRectangle
2930 width: units.gu(1)
3031 height: width
3132 parent: testCase.parent
@@ -35,7 +36,7 @@ TestCase {
3536 visible: testCase.running
3637
3738 RotationAnimation on rotation {
38− running: parent.visible
39+ running: rotatingRectangle.visible
3940 from: 0
4041 to: 360
4142 loops: Animation.Infinite