@@ -843,20 +843,21 @@ Rectangle {
843843 function test_launcher_dismiss() {
844844 dragLauncherIntoView();
845845 verify(launcher.state == "visible");
846− clickThroughTester.pressCount = 0;
847846
847+ clickThroughTester.pressCount = 0;
848848 mouseClick(root, root.width / 2, units.gu(1));
849849 waitUntilLauncherDisappears();
850850 verify(launcher.state == "");
851− verify(clickThroughTester.pressCount, 1);
851+ compare(clickThroughTester.pressCount, 1);
852852
853853 // and repeat, as a test for regression in lpbug#1531339
854854 dragLauncherIntoView();
855855 verify(launcher.state == "visible");
856+ clickThroughTester.pressCount = 0;
856857 mouseClick(root, root.width / 2, units.gu(1));
857858 waitUntilLauncherDisappears();
858859 verify(launcher.state == "");
859− verify(clickThroughTester.pressCount, 2);
860+ compare(clickThroughTester.pressCount, 1);
860861 }
861862
862863 function test_quicklist_positioning_data() {