on xenial help sign in
fix test
commit4098517ced51c20aedd09aaf398ec779fd220a30 authorMichael Zanetti <michael.zanetti@canonical.com> dateThu 29 Sep 2016, 11:03 (10 years ago) parent7b1409a
1 file changed+1−1
tests/qmltests/Stage/tst_PhoneStage.qml+1−1
tests/qmltests/Stage/tst_PhoneStage.qml+1−1
@@ -226,7 +226,7 @@ Item {
226226 touchRelease(stage, endX, endY); }
227227
228228 tryCompare(stage, "state", data.endState);
229− tryCompare(ApplicationManager, "focusedApplicationId", data.endState == "spread" ? "" : newFocusedApp.appId);
229+ tryCompare(ApplicationManager, "focusedApplicationId", data.endState == "spread" ? oldFocusedApp.appId : newFocusedApp.appId);
230230 }
231231
232232 function test_selectAppFromSpread_data() {