on xenial help sign in
Reverted the direction and do not call the slow drag.
commit29b0163499cd1acc77b4f40f900174b02bd772ca authorLeo Arias <leo.arias@canonical.com> dateMon 12 Jan 2015, 12:59 (12 years ago) parent34ce1d6
1 file changed+3−3
tests/autopilot/unity8/shell/emulators/main_window.py+3−3
tests/autopilot/unity8/shell/emulators/main_window.py+3−3
@@ -182,8 +182,8 @@ class QQuickFlickable(ubuntuuitoolkit.QQuickFlickable):
182182
183183 def swipe_to_show_x_end(self, containers):
184184 start_y = stop_y = self.globalRect.y + (self.globalRect.height // 2)
185− start_x = self.globalRect.x + self.globalRect.width - 5
186− stop_x = self.globalRect.x + 5
187− self._slow_drag(start_x, stop_x, start_y, stop_y)
185+ start_x = self.globalRect.x + 5
186+ stop_x = self.globalRect.x + self.globalRect.width - 5
187+ self.pointing_device.drag(start_x, stop_x, start_y, stop_y)
188188 self.dragging.wait_for(False)
189189 self.moving.wait_for(False)