~canonical-platform-qa/ubuntu-system-tests/fix_licence_text

« back to all changes in this revision

Viewing changes to ubuntu_sanity_tests/helpers/unity8/dash.py

  • Committer: Tarmac
  • Author(s): Brendan Donegan
  • Date: 2015-04-06 21:55:41 UTC
  • mfrom: (100.4.3 swipe_to_ebay)
  • Revision ID: tarmac-20150406215541-1jetsv2uawehs4kx
Use local Dash helper so that it swipes down to the eBay icon on Mako.

Approved by Leo Arias, Richard Huddie, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
            from ubuntuuitoolkit._custom_proxy_objects import _flickable
80
80
            start_y = _flickable._get_visible_container_bottom(containers) - 50
81
81
            stop_y = _flickable._get_visible_container_top(containers) + 5
82
 
            self._slow_drag(start_x, stop_x, start_y, stop_y)
 
82
            # The default drag rate was causing some applications to
 
83
            # be scrolled past. Slowing it down a few notches makes it
 
84
            # more reliable without being much slower.
 
85
            self._slow_drag(start_x, stop_x, start_y, stop_y, rate=4)
83
86
            self.dragging.wait_for(False)
84
87
            self.moving.wait_for(False)