@@ -740,6 +740,21 @@ Item {
740740 mouseRelease(draggedItem);
741741 }
742742
743+ function test_launcher_dismiss() {
744+ dragLauncherIntoView();
745+ verify(launcher.state == "visible");
746+ mouseClick(root);
747+ waitUntilLauncherDisappears();
748+ verify(launcher.state == "");
749+
750+ // and repeat, as a test for regression in lpbug#1531339
751+ dragLauncherIntoView();
752+ verify(launcher.state == "visible");
753+ mouseClick(root);
754+ waitUntilLauncherDisappears();
755+ verify(launcher.state == "");
756+ }
757+
743758 function test_quicklist_positioning_data() {
744759 return [
745760 {tag: "top", flickTo: "top", itemIndex: 0},