@@ -766,14 +766,15 @@ Item {
766 function test_launcher_dismiss() {
766 function test_launcher_dismiss() {
767 dragLauncherIntoView();
767 dragLauncherIntoView();
768 verify(launcher.state == "visible");
768 verify(launcher.state == "visible");
769− mouseClick(root);
770+ mouseClick(root, root.width / 2, units.gu(1));
770 waitUntilLauncherDisappears();
771 waitUntilLauncherDisappears();
771 verify(launcher.state == "");
772 verify(launcher.state == "");
773 // and repeat, as a test for regression in lpbug#1531339
774 // and repeat, as a test for regression in lpbug#1531339
774 dragLauncherIntoView();
775 dragLauncherIntoView();
775 verify(launcher.state == "visible");
776 verify(launcher.state == "visible");
776− mouseClick(root);
777+ mouseClick(root, root.width / 2, units.gu(1));
777 waitUntilLauncherDisappears();
778 waitUntilLauncherDisappears();
778 verify(launcher.state == "");
779 verify(launcher.state == "");