From d536634fee1d88190ebe83991d7a5b245ca83215 Mon Sep 17 00:00:00 2001 From: Pascal Precht <445106+PascalPrecht@users.noreply.github.com> Date: Wed, 16 Nov 2022 15:19:06 +0100 Subject: [PATCH] cleanup(squish): remove redundant definition of `mouse_over_object` api Probably a mistake. This was defined twice in our package. --- test/ui-test/src/drivers/SquishDriver.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/test/ui-test/src/drivers/SquishDriver.py b/test/ui-test/src/drivers/SquishDriver.py index 4edc2bbec8..7d9efd06b1 100755 --- a/test/ui-test/src/drivers/SquishDriver.py +++ b/test/ui-test/src/drivers/SquishDriver.py @@ -286,15 +286,6 @@ def _find_link(objName: str, link: str): return [-1, -1] -def move_mouse_over_object(obj): - # Start moving the cursor: - end_x = obj.x + (obj.width / 2) - y = round(int(obj.height) / 2) - x = 0 - while x < end_x: - squish.mouseMove(obj, x, y) - x += 10 - def expect_true(assertionValue: bool, message: str): return test.verify(assertionValue, message)