on xenial help sign in
Reverted the direction and do not call the slow drag.
29b0163Leo Arias
tests/autopilot/unity8/shell/emulators/main_window.py+3−3
@@ -182,8 +182,8 @@ class QQuickFlickable(ubuntuuitoolkit.QQuickFlickable):
182
182
183 def swipe_to_show_x_end(self, containers):
183 def swipe_to_show_x_end(self, containers):
184 start_y = stop_y = self.globalRect.y + (self.globalRect.height // 2)
184 start_y = stop_y = self.globalRect.y + (self.globalRect.height // 2)
185− start_x = self.globalRect.x + self.globalRect.width - 5
185+ start_x = self.globalRect.x + 5
186− stop_x = self.globalRect.x + 5
186+ stop_x = self.globalRect.x + self.globalRect.width - 5
187− self._slow_drag(start_x, stop_x, start_y, stop_y)
187+ self.pointing_device.drag(start_x, stop_x, start_y, stop_y)
188 self.dragging.wait_for(False)
188 self.dragging.wait_for(False)
189 self.moving.wait_for(False)
189 self.moving.wait_for(False)