summaryrefslogtreecommitdiff
path: root/tests
diff options
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2014-08-05 17:45:44 +0200
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2014-08-05 17:45:44 +0200
commit1710f6fa87735d1aca600fcdc79f9d8d19864073 (patch)
treebce090472b4240e4b38c8904e723cb5786e5fb92 /tests
parent0fd80f685d38d80e073cf8380bfc80e9b31013ba (diff)
Autopilot, Switcher: use correct right/left scroll buttons for next/prev mouse selection
(bzr r3844.4.5)
Diffstat (limited to 'tests')
-rw-r--r--tests/autopilot/unity/emulators/switcher.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/autopilot/unity/emulators/switcher.py b/tests/autopilot/unity/emulators/switcher.py
index 082e45bd0..8626412cf 100644
--- a/tests/autopilot/unity/emulators/switcher.py
+++ b/tests/autopilot/unity/emulators/switcher.py
@@ -189,14 +189,14 @@ class SwitcherController(UnityIntrospectionObject, KeybindingsHelper):
def next_via_mouse(self):
"""Move to the next icon using the mouse scroll wheel."""
logger.debug("Selecting next item in switcher with mouse scroll wheel.")
- self._mouse.press(6)
- self._mouse.release(6)
+ self._mouse.press(7)
+ self._mouse.release(7)
def previous_via_mouse(self):
"""Move to the previous icon using the mouse scroll wheel."""
logger.debug("Selecting previous item in switcher with mouse scroll wheel.")
- self._mouse.press(7)
- self._mouse.release(7)
+ self._mouse.press(6)
+ self._mouse.release(6)
@property
def detail_selection_index(self):