diff options
| author | Marco Trevisan (TreviƱo) <mail@3v1n0.net> | 2014-08-11 12:28:33 +0000 |
|---|---|---|
| committer | CI bot <ps-jenkins@lists.canonical.com> | 2014-08-11 12:28:33 +0000 |
| commit | 1b990150dc3f9a0d21720fa0c217c5aa1129a729 (patch) | |
| tree | 7ed8f2e326688e7e9801cd10834402bfc77445da /tests | |
| parent | 2369e74574eaa9a03e39a1db51d2a7109c0cd5fd (diff) | |
| parent | 1710f6fa87735d1aca600fcdc79f9d8d19864073 (diff) | |
Autopilot, Switcher: use correct right/left scroll buttons for next/prev mouse selection Fixes: 1353383
Approved by: PS Jenkins bot, Andrea Azzarone (bzr r3852)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/autopilot/unity/emulators/switcher.py | 8 |
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): |
