@@ -536,8 +536,6 @@ Rectangle {
536536 compare(shell.transformRotationAngle, root.primaryOrientationAngle);
537537 }
538538
539−/* Flaky in adt and cannot reproduce locally. Given the deadline I won't risk this getting stuck in proposed.
540− Adding a skip() seems to fail this nevertheless for accessing a null object
541539 function test_appSupportingOnlyPrimaryOrientationWillOnlyRotateInLandscape_data() {
542540 return [
543541 {tag: "manta", deviceName: "manta"},
@@ -561,25 +559,25 @@ Rectangle {
561559 compare(dashApp.stage, ApplicationInfoInterface.MainStage);
562560
563561 tryCompareFunction(function(){return dashApp.surfaceList.count > 0;}, true);
564− verify(checkAppSurfaceOrientation(dashAppWindow, dashApp, root.primaryOrientationAngle));
565562
563+ tryCompareFunction(function(){return checkAppSurfaceOrientation(dashAppWindow, dashApp, root.primaryOrientationAngle)}, true);
566564 compare(shell.transformRotationAngle, root.primaryOrientationAngle);
565+
567566 rotateTo(90);
568567
569− verify(checkAppSurfaceOrientation(dashAppWindow, dashApp, root.primaryOrientationAngle));
568+ tryCompareFunction(function(){return checkAppSurfaceOrientation(dashAppWindow, dashApp, root.primaryOrientationAngle)}, true);
570569 compare(shell.transformRotationAngle, root.primaryOrientationAngle);
571570
572571 rotateTo(180);
573572
574− verify(checkAppSurfaceOrientation(dashAppWindow, dashApp, root.primaryOrientationAngle + 180));
573+ tryCompareFunction(function(){return checkAppSurfaceOrientation(dashAppWindow, dashApp, root.primaryOrientationAngle + 180)}, true);
575574 compare(shell.transformRotationAngle, root.primaryOrientationAngle + 180);
576575
577576 rotateTo(270);
578577
579− verify(checkAppSurfaceOrientation(dashAppWindow, dashApp, root.primaryOrientationAngle + 180));
578+ tryCompareFunction(function(){return checkAppSurfaceOrientation(dashAppWindow, dashApp, root.primaryOrientationAngle + 180)}, true);
580579 compare(shell.transformRotationAngle, root.primaryOrientationAngle + 180);
581580 }
582−*/
583581
584582 function test_greeterRemainsInPrimaryOrientation_data() {
585583 return [