summaryrefslogtreecommitdiff
diff options
-rw-r--r--tests/autopilot/unity/emulators/launcher.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/autopilot/unity/emulators/launcher.py b/tests/autopilot/unity/emulators/launcher.py
index 5deb2fa18..1c403f0b3 100644
--- a/tests/autopilot/unity/emulators/launcher.py
+++ b/tests/autopilot/unity/emulators/launcher.py
@@ -382,11 +382,11 @@ class Launcher(UnityIntrospectionObject, KeybindingsHelper):
self.move_mouse_to_icon(icon)
self._mouse.press()
- sleep(2)
+ sleep(1)
if drag_type == IconDragType.OUTSIDE:
shift_over = self._mouse.x + (icon_height * 2)
- self._mouse.move(shift_over, self._mouse.y)
+ self._mouse.move(shift_over, self._mouse.y, rate=20, time_between_events=0.005)
sleep(0.5)
self.move_mouse_to_icon(target)
@@ -397,8 +397,8 @@ class Launcher(UnityIntrospectionObject, KeybindingsHelper):
if pos == IconDragType.BEFORE:
target_y -= icon_height + (icon_height / 2)
- self._mouse.move(self._mouse.x, target_y)
- sleep(0.5)
+ self._mouse.move(self._mouse.x, target_y, rate=20, time_between_events=0.005)
+ sleep(1)
self._mouse.release()
self.move_mouse_to_right_of_launcher()