on xenial help sign in
replaced mouseClick with tap for touch
commit22bac90a4eeff1ef2a0e85318d9531427bf6e51a authorNick Dedekind <nick.dedekind@canonical.com> dateMon 20 Apr 2015, 10:13 (12 years ago) parent65896a9
1 file changed+2−2
tests/qmltests/Stages/tst_DesktopStage.qml+2−2
tests/qmltests/Stages/tst_DesktopStage.qml+2−2
@@ -202,12 +202,12 @@ Rectangle {
202202
203203 var fromAppDecoration = findChild(desktopStage, "appWindowDecoration_" + data.apps[data.focusfrom]);
204204 verify(fromAppDecoration);
205− mouseClick(fromAppDecoration);
205+ tap(fromAppDecoration);
206206 tryCompare(ApplicationManager.findApplication(data.apps[data.focusfrom]).session.surface, "activeFocus", true);
207207
208208 var toAppDecoration = findChild(desktopStage, "appWindowDecoration_" + data.apps[data.focusTo]);
209209 verify(toAppDecoration);
210− mouseClick(toAppDecoration);
210+ tap(toAppDecoration);
211211 tryCompare(ApplicationManager.findApplication(data.apps[data.focusTo]).session.surface, "activeFocus", true);
212212 }
213213 }