[virt-tools-list] [PATCH 09/10] uitests: Increase click offset for window drag
Povilas Kanapickas
povilas at radix.lt
Sat Sep 1 22:25:54 UTC 2018
On KDE the testManagerWindowCleanup test clicks right on the border and
the drag operation fails, bringing down the test. Clicking a bit lower
fixes this issue.
Signed-off-by: Povilas Kanapickas <povilas at radix.lt>
---
tests/uitests/manager.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/uitests/manager.py b/tests/uitests/manager.py
index 43e77638..7eb99282 100644
--- a/tests/uitests/manager.py
+++ b/tests/uitests/manager.py
@@ -108,7 +108,7 @@ class Manager(uiutils.UITestCase):
"""
win.click()
clickX = win.position[0] + win.size[0] / 2
- clickY = win.position[1] + 3
+ clickY = win.position[1] + 10
dogtail.rawinput.drag((clickX, clickY), (1000, 1000))
manager = self.app.topwin
--
2.17.1
More information about the virt-tools-list
mailing list