diff options
| author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2016-02-17 19:40:53 +0100 |
|---|---|---|
| committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2016-02-17 19:40:53 +0100 |
| commit | 7bfba75999adde6fcb6d4198d0b1c1a4954276a4 (patch) | |
| tree | 92f64d5d72d460f88d46939def75783bc8a60ca4 /tests | |
| parent | 0973cb0c1e889358e155f2ad4241264a50231606 (diff) | |
DashView: ensure that we update scaling when monitor changes
And also use better names for dash border sizes in DashStyle (bzr r4068.5.1)
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() |
