~unity-team/unity/trusty-1368427

« back to all changes in this revision

Viewing changes to tests/autopilot/unity/emulators/switcher.py

  • Committer: CI bot
  • Author(s): Stephen M. Webb, Marco Trevisan (Treviño), Andrea Azzarone, Pawel Szubert, Chris Townsend, Andrea Azzarone, Eleni Maria Stea
  • Date: 2014-08-26 13:48:28 UTC
  • mfrom: (3800.1.24 prepare-7.2.3-SRU)
  • Revision ID: ps-jenkins@lists.canonical.com-20140826134828-fkev1oisyfl9kbt3
Prepare fixes for upstream micro-release 7.2.3. Fixes: 1283415, 1292391, 1306211, 1312107, 1320051, 1320071, 1324114, 1339629, 1340171, 1340394, 1340477, 1340992, 1340996, 1342208, 1342731, 1347735

Show diffs side-by-side

added added

removed removed

Lines of Context:
189
189
    def next_via_mouse(self):
190
190
        """Move to the next icon using the mouse scroll wheel."""
191
191
        logger.debug("Selecting next item in switcher with mouse scroll wheel.")
192
 
        self._mouse.press(6)
193
 
        self._mouse.release(6)
 
192
        self._mouse.press(7)
 
193
        self._mouse.release(7)
194
194
 
195
195
    def previous_via_mouse(self):
196
196
        """Move to the previous icon using the mouse scroll wheel."""
197
197
        logger.debug("Selecting previous item in switcher with mouse scroll wheel.")
198
 
        self._mouse.press(7)
199
 
        self._mouse.release(7)
 
198
        self._mouse.press(6)
 
199
        self._mouse.release(6)
200
200
 
201
201
    @property
202
202
    def detail_selection_index(self):