on xenial help sign in
Anchor running to the proper object.visible

The parent of that rotationAnimation is not the rotatingRectangle even if you'd expect it to be Fixes continous CPU usage on make tryXXX

commitc1fa7f457a3b3f54b760b7ae464c48005d039161 authorAlbert Astals Cid <albert.astals@canonical.com> dateWed 27 May 2015, 15:10 (11 years ago) parentd548665
1 file changed+2−1
tests/utils/modules/Unity/Test/UnityTestCase.qml+2−1
tests/utils/modules/Unity/Test/UnityTestCase.qml+2−1
@@ -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