diff options
author | Ilia Motornyi <elmot@vaadin.com> | 2018-03-26 10:03:44 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-26 10:03:44 +0300 |
commit | 7370e68fd52e0a2918d91fede5dddf3bb6e674f7 (patch) | |
tree | e596f363b42b754e92fc191f3a54ef00b0e9fe26 /uitest | |
parent | 00c3f2c37c104498e23bd8f25dfd5ab8ce65294b (diff) | |
download | vaadin-framework-7370e68fd52e0a2918d91fede5dddf3bb6e674f7.tar.gz vaadin-framework-7370e68fd52e0a2918d91fede5dddf3bb6e674f7.zip |
Fix grid spacebar handling (#10750)
* Fix spacebar handling
Diffstat (limited to 'uitest')
-rw-r--r-- | uitest/src/test/java/com/vaadin/tests/components/grid/basics/GridEditorUnbufferedTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/uitest/src/test/java/com/vaadin/tests/components/grid/basics/GridEditorUnbufferedTest.java b/uitest/src/test/java/com/vaadin/tests/components/grid/basics/GridEditorUnbufferedTest.java index 9a751a70b5..928d827348 100644 --- a/uitest/src/test/java/com/vaadin/tests/components/grid/basics/GridEditorUnbufferedTest.java +++ b/uitest/src/test/java/com/vaadin/tests/components/grid/basics/GridEditorUnbufferedTest.java @@ -233,14 +233,14 @@ public class GridEditorUnbufferedTest extends GridEditorTest { editor.clear(); // Click to ensure IE focus... editor.click(5, 5); - editor.sendKeys("Foo", Keys.ENTER); + editor.sendKeys("Foo Bar", Keys.ENTER); assertEquals("Editor did not move.", "(6, 0)", getGridElement().getEditor().getField(0).getAttribute("value")); assertEquals("Editor field value did not update from server.", "6", getGridElement().getEditor().getField(3).getAttribute("value")); - assertEquals("Edited value was not saved.", "Foo", + assertEquals("Edited value was not saved.", "Foo Bar", getGridElement().getCell(5, 0).getText()); } } |