diff options
| author | Marco Trevisan (TreviƱo) <mail@3v1n0.net> | 2016-03-10 10:09:12 +0000 | 
|---|---|---|
| committer | CI Train Bot <ci-train-bot@canonical.com> | 2016-03-10 10:09:12 +0000 | 
| commit | 5f80ae026ab548701840da293a8f755f79dbd244 (patch) | |
| tree | eac678c541f560ceb9890353cf49f4432ee475f3 /tests | |
| parent | 17330915d450e8a44b8136910012ceccbba360f6 (diff) | |
| parent | 89dc39a144983e244f8f9480c66440d66c545dd2 (diff) | |
DashView: ensure that we update scaling when monitor changes
Plus don't increase the input area by border sizes when maximized. Fixes: #1546690 Approved by: Andrea Azzarone, PS Jenkins bot (bzr r4083)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/autopilot/unity/tests/test_dash.py | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/autopilot/unity/tests/test_dash.py b/tests/autopilot/unity/tests/test_dash.py index 606144b8e..2cf0e5aa9 100644 --- a/tests/autopilot/unity/tests/test_dash.py +++ b/tests/autopilot/unity/tests/test_dash.py @@ -740,7 +740,7 @@ class DashBorderTests(DashTestCase):  if (self.unity.dash.view.form_factor != "desktop"):  self.skip("Not in desktop form-factor.") - x = self.unity.dash.view.x + self.unity.dash.view.width + self.unity.dash.view.right_border_width / 2 + x = self.unity.dash.view.x + self.unity.dash.view.width + self.unity.dash.view.vertical_border_width / 2  y = self.unity.dash.view.y + self.unity.dash.view.height / 2  self.mouse.move(x, y) @@ -756,7 +756,7 @@ class DashBorderTests(DashTestCase):  self.skip("Not in desktop form-factor.")  x = self.unity.dash.view.x + self.unity.dash.view.width / 2 - y = self.unity.dash.view.y + self.unity.dash.view.height + self.unity.dash.view.bottom_border_height / 2 + y = self.unity.dash.view.y + self.unity.dash.view.height + self.unity.dash.view.horizontal_border_height / 2  self.mouse.move(x, y)  self.mouse.click()  | 
