@@ -314,13 +314,20 @@ Item {
314314 }
315315
316316 function test_backgroundClickCancelsSpread() {
317− addApps(3)
317+ addApps(3);
318+
319+ var focusedAppId = ApplicationManager.focusedApplicationId;
320+
318321 goToSpread();
319322
320− mouseClick(phoneStage, units.gu(1), units.gu(1))
323+ mouseClick(phoneStage, units.gu(1), units.gu(1));
321324
325+ // Make sure the spread is in the idle position
322326 var spreadView = findChild(phoneStage, "spreadView");
323− tryCompare(spreadView, "contentX", -spreadView.shift)
327+ tryCompare(spreadView, "contentX", -spreadView.shift);
328+
329+ // Make sure the same app is still focused
330+ compare(focusedAppId, ApplicationManager.focusedApplicationId);
324331 }
325332
326333 function cleanup() {