Stabilize OrientedShell tests
Approved by: Lukáš Tinkl, Unity8 CI Bot
commit10a9a7a0205a305f27c083036fd764ef15cc3500
authorMichael Zanetti <michael.zanetti@canonical.com>
dateWed 16 Nov 2016, 10:43 (10 years ago)
parent3893655572daea
tests/qmltests/tst_OrientedShell.qml+1−1
@@ -1235,7 +1235,7 @@ Rectangle {
12351235
12361236 swipeAwayGreeter();
12371237
1238− verify(isAppSurfaceFocused(primarySurfaceId))
1238+ tryCompareFunction(function() { return isAppSurfaceFocused(primarySurfaceId)}, true)
12391239
12401240 signalSpy.clear();
12411241 signalSpy.target = shell;