on xenial help sign in
Fix DisabledScreenNotice::test_rotation
e698297Albert Astals Cid
tests/qmltests/tst_DisabledScreenNotice.qml+1−1
@@ -106,7 +106,7 @@ Item {
106 orientationSelector.selectedIndex = data.selectedOrientation;
106 orientationSelector.selectedIndex = data.selectedOrientation;
107
107
108 // Make sure it is still in the old rotation (as we have the lock turned on)
108 // Make sure it is still in the old rotation (as we have the lock turned on)
109− expectFail("", "Rotation lock set. Expecting automatic rotation to fail.");
109+ expectFailContinue("", "Rotation lock set. Expecting automatic rotation to fail.");
110 tryCompareFunction(function() { return content.rotation != oldRotation; }, true, 300);
110 tryCompareFunction(function() { return content.rotation != oldRotation; }, true, 300);
111
111
112 // Now uncheck the rotation lock
112 // Now uncheck the rotation lock