diff --git a/test/e2e/gui/elements/check_box.py b/test/e2e/gui/elements/check_box.py index e88aa493be..2ec2995bf1 100644 --- a/test/e2e/gui/elements/check_box.py +++ b/test/e2e/gui/elements/check_box.py @@ -14,7 +14,7 @@ class CheckBox(QObject): @allure.step("Set {0} value: {1}") def set(self, value: bool): if self.is_checked is not value: - self.click() + self.click(x=5, y=5) assert driver.waitFor( lambda: self.is_checked is value, configs.timeouts.UI_LOAD_TIMEOUT_MSEC), 'Value not changed' LOG.info('%s: value changed to "%s"', self, value) diff --git a/test/e2e/gui/elements/object.py b/test/e2e/gui/elements/object.py index 3a6b89ff86..0d04cd1872 100644 --- a/test/e2e/gui/elements/object.py +++ b/test/e2e/gui/elements/object.py @@ -96,8 +96,8 @@ class QObject: ): driver.mouseClick( self.object, - x or int(self.object.width * 0.1), - y or int(self.object.height * 0.1), + x or int(self.object.width * 0.5), + y or int(self.object.height * 0.5), button or driver.Qt.LeftButton ) LOG.info('%s: is clicked with Qt.LeftButton', self)