@@ -23,13 +23,23 @@ TestCase {
2323 id: testCase
2424 TestUtil {id:util}
2525
26−// ActivityIndicator {
27−// visible: testCase.running
28−// anchors.centerIn: parent
29−// Component.onCompleted: parent = testCase.parent
30−// z: 100
31−// running: visible
32−// }
26+ // This is needed for waitForRendering calls to return
27+ // if the watched element already got rendered
28+ Rectangle {
29+ width: units.gu(1)
30+ height: width
31+ parent: testCase.parent
32+ border { width: units.dp(1); color: "black" }
33+ opacity: 0.6
34+
35+ RotationAnimation on rotation {
36+ running: true
37+ from: 0
38+ to: 360
39+ loops: Animation.Infinite
40+ duration: 1000
41+ }
42+ }
3343
3444 // Fake implementation to be provided to items under test
3545 property var fakeDateTime: new function() {