diff options
-rw-r--r-- | uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridEditorBufferedTest.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridEditorBufferedTest.java b/uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridEditorBufferedTest.java index 57f4b877df..69e2a09bc9 100644 --- a/uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridEditorBufferedTest.java +++ b/uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridEditorBufferedTest.java @@ -48,6 +48,9 @@ public class GridEditorBufferedTest extends GridEditorTest { WebElement textField = getEditorWidgets().get(0); textField.click(); + // without this, the click in the middle of the field might not be after + // the old text on some browsers + new Actions(getDriver()).sendKeys(Keys.END).perform(); textField.sendKeys(" changed"); @@ -67,6 +70,9 @@ public class GridEditorBufferedTest extends GridEditorTest { WebElement textField = getEditorWidgets().get(0); textField.click(); + // without this, the click in the middle of the field might not be after + // the old text on some browsers + new Actions(getDriver()).sendKeys(Keys.END).perform(); textField.sendKeys(" changed"); |