on xenial help sign in
Force rendering so we don't get stuck in "waitForRendering" loop in tests.

Approved by: Daniel d'Andrada

commit52f714f7872bee4bb3a6208eec6e41da614c74e0 authorNick Dedekind <nick.dedekind@canonical.com> dateThu 9 Oct 2014, 14:04 (12 years ago) parent6f4e2dd1fca676
1 file changed+9
tests/utils/modules/Unity/Test/UnityTestCase.qml+9
tests/utils/modules/Unity/Test/UnityTestCase.qml+9
@@ -20,8 +20,17 @@ import Ubuntu.Components 0.1
2020import Unity.Test 0.1 as UT
2121
2222TestCase {
23+ id: testCase
2324 TestUtil {id:util}
2425
26+ ActivityIndicator {
27+ visible: testCase.running
28+ anchors.centerIn: parent
29+ Component.onCompleted: parent = testCase.parent
30+ z: 100
31+ running: visible
32+ }
33+
2534 // Fake implementation to be provided to items under test
2635 property var fakeDateTime: new function() {
2736 this.currentTimeMs = 0