on xenial help sign in
Fixed the drag.
commit2c1b6d00056a42dd6fb1d298fd5ae823f40c13e2 authorLeo Arias <leo.arias@canonical.com> dateMon 12 Jan 2015, 13:18 (12 years ago) parent29b0163
1 file changed+4−2
tests/autopilot/unity8/shell/emulators/main_window.py+4−2
tests/autopilot/unity8/shell/emulators/main_window.py+4−2
@@ -182,8 +182,10 @@ 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 + 5
185+ # We can't start the swipe from the border because it would open the
186+ # launcher
187+ start_x = self.globalRect.x + 45
186188 stop_x = self.globalRect.x + self.globalRect.width - 5
187− self.pointing_device.drag(start_x, stop_x, start_y, stop_y)
189+ self.pointing_device.drag(start_x, start_y, stop_x, stop_y)
188190 self.dragging.wait_for(False)
189191 self.moving.wait_for(False)