on xenial help sign in
fix testPhoneStage

By making sure cleanup() cleans everything up, otherwise test_cantCloseWhileSnapping was made to fail by test_cantAccessPhoneStageWhileRightEdgeGesture running before it

commit2edd33e3a754e002506ef31cca8c1127e5852e60 authorAlbert Astals Cid <albert.astals@canonical.com> dateWed 12 Aug 2015, 17:08 (11 years ago) parentb39a794
1 file changed+1
tests/qmltests/Stages/tst_PhoneStage.qml+1
tests/qmltests/Stages/tst_PhoneStage.qml+1
@@ -295,6 +295,7 @@ Item {
295295 tryCompare(ApplicationManager, "count", oldCount - 1)
296296 }
297297 phoneStage.shellOrientationAngle = 0;
298+ phoneStage.select(ApplicationManager.get(0).appId);
298299 }
299300
300301 function test_focusNewTopMostAppAfterFocusedOneClosesItself() {