on xenial help sign in
fix tapping into the void
commit2ce286194f43d742235a027207f17c123fb06119 authorMichael Zanetti <michael.zanetti@canonical.com> dateMon 7 Dec 2015, 21:02 (11 years ago) parent939271e
1 file changed+5−2
tests/qmltests/Launcher/tst_Launcher.qml+5−2
tests/qmltests/Launcher/tst_Launcher.qml+5−2
@@ -288,11 +288,14 @@ Item {
288288
289289 dragLauncherIntoView()
290290
291+ wait(1000)
292+
291293 // tapping on the center of the screen should dismiss the launcher
292− mouseClick(launcher)
294+ mouseClick(launcher, panel.width + units.gu(5), launcher.height / 2)
295+ wait(1000)
293296
294297 // should eventually get fully retracted (hidden)
295− tryCompare(panel, "x", -launcher.panelWidth, 1000)
298+ tryCompare(panel, "x", -launcher.panelWidth, 2000)
296299 }
297300
298301 /* If I click on the icon of an application on the launcher