diff options
author | Johannes Dahlström <johannesd@vaadin.com> | 2014-08-27 12:57:01 +0300 |
---|---|---|
committer | Johannes Dahlström <johannesd@vaadin.com> | 2014-09-01 08:49:59 +0000 |
commit | bd863fc107338df5220e7db32d4c4ae4cfb7a966 (patch) | |
tree | 32df63c11204e44113dd7bbcff96ca4e3af22eb8 /uitest | |
parent | 9fb9ff6cc6b28c6b0664c08f2418df834e870eb7 (diff) | |
download | vaadin-framework-bd863fc107338df5220e7db32d4c4ae4cfb7a966.tar.gz vaadin-framework-bd863fc107338df5220e7db32d4c4ae4cfb7a966.zip |
Lock vertical scrolling while editor row is open (#13334)
Change-Id: Iee614d21b900900c7d969eca964f5fef829c70f2
Diffstat (limited to 'uitest')
-rw-r--r-- | uitest/src/com/vaadin/tests/components/grid/basicfeatures/client/GridEditorRowTest.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/components/grid/basicfeatures/client/GridEditorRowTest.java b/uitest/src/com/vaadin/tests/components/grid/basicfeatures/client/GridEditorRowTest.java index 29b5ff8f1b..579d00dfd2 100644 --- a/uitest/src/com/vaadin/tests/components/grid/basicfeatures/client/GridEditorRowTest.java +++ b/uitest/src/com/vaadin/tests/components/grid/basicfeatures/client/GridEditorRowTest.java @@ -19,6 +19,7 @@ import static org.junit.Assert.assertNotNull; import org.junit.Before; import org.junit.Test; +import org.openqa.selenium.NoSuchElementException; import com.vaadin.tests.components.grid.basicfeatures.GridBasicClientFeaturesTest; @@ -41,4 +42,10 @@ public class GridEditorRowTest extends GridBasicClientFeaturesTest { selectMenuPath("Component", "State", "Editor row", "Edit row 100"); assertNotNull(getEditorRow()); } + + @Test(expected = NoSuchElementException.class) + public void testVerticalScrollLocking() throws Exception { + selectMenuPath("Component", "State", "Editor row", "Edit row 5"); + getGridElement().getCell(200, 0); + } } |