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 Approved by: Gerry Boland

commit2ae196004fac868ee3b9c5a2357df8e00f293c09 authorAlbert Astals Cid <albert.astals@canonical.com> dateFri 14 Aug 2015, 09:53 (11 years ago) parent968ea852edd33e
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() {