diff options
author | Henri Sara <hesara@vaadin.com> | 2015-12-20 12:20:28 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2015-12-21 11:33:52 +0000 |
commit | 1d6361b72cc411c5ecd005f6acc8f00f2f38b03c (patch) | |
tree | 31dd14edeb936c13d946f2851dd321b6702aff67 /uitest | |
parent | 8954a81c7cb6fda3ec3d7c2f08456d7e7af83ad8 (diff) | |
download | vaadin-framework-1d6361b72cc411c5ecd005f6acc8f00f2f38b03c.tar.gz vaadin-framework-1d6361b72cc411c5ecd005f6acc8f00f2f38b03c.zip |
Fix GridEditorBufferedTest for (#16838)
Changed cell padding affected the location of the cursor after
a click.
Change-Id: I950496eb43b8c9be1fc37f558ddd80511eb1c0c3
Diffstat (limited to 'uitest')
-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"); |