From fceb69d8490bbdbf4c1d277e5e1dfb4c3a075cd5 Mon Sep 17 00:00:00 2001 From: Steffen Schaefer Date: Tue, 24 Apr 2018 14:29:03 +0200 Subject: [PATCH] Bug 4339: Fixed offset calculations --- .../src/com/sap/sailing/selenium/pages/gwt/DataEntryPO.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/com.sap.sailing.selenium.test/src/com/sap/sailing/selenium/pages/gwt/DataEntryPO.java b/java/com.sap.sailing.selenium.test/src/com/sap/sailing/selenium/pages/gwt/DataEntryPO.java index 3902319a63b..be0fc963101 100644 --- a/java/com.sap.sailing.selenium.test/src/com/sap/sailing/selenium/pages/gwt/DataEntryPO.java +++ b/java/com.sap.sailing.selenium.test/src/com/sap/sailing/selenium/pages/gwt/DataEntryPO.java @@ -95,7 +95,7 @@ public class DataEntryPO extends CellTableRowPO { private void moveToUpperLeftCorner(Actions actions, WebElement webElement) { actions.moveToElement(webElement); final Dimension size = webElement.getSize(); - actions.moveByOffset(-size.width / 2 - 1, -size.height / 2 - 1); + actions.moveByOffset(-size.width / 2 + 1, -size.height / 2 + 1); } /**