on xenial help sign in
tap instead of click
commit10212b01bff3dbb37e0bb27e95f1feb1ddcc75e8 authorMichael Zanetti <michael.zanetti@canonical.com> dateFri 13 Mar 2015, 15:32 (12 years ago) parent77e6561
1 file changed+5−1
tests/qmltests/Launcher/tst_Launcher.qml+5−1
tests/qmltests/Launcher/tst_Launcher.qml+5−1
@@ -227,7 +227,11 @@ Item {
227227
228228 verify(appIcon != undefined);
229229
230− mouseClick(appIcon);
230+ if (data.mouse) {
231+ mouseClick(appIcon);
232+ } else {
233+ tap(appIcon);
234+ }
231235
232236 tryCompare(launcher, "lastSelectedApplication",
233237 appIcon.appId);