diff options
author | Teemu Suo-Anttila <teemusa@vaadin.com> | 2015-07-06 17:28:58 +0300 |
---|---|---|
committer | Teemu Suo-Anttila <teemusa@vaadin.com> | 2015-07-06 17:34:05 +0300 |
commit | 8d2bbed0a53e8f46a9a613feaccd4e88d0c61a4e (patch) | |
tree | 4e91b80045166dc827bd037a7b0672e3ed4aba86 /uitest | |
parent | 22c7ec029ddc744b098b8f547bc90fdb1278263f (diff) | |
download | vaadin-framework-8d2bbed0a53e8f46a9a613feaccd4e88d0c61a4e.tar.gz vaadin-framework-8d2bbed0a53e8f46a9a613feaccd4e88d0c61a4e.zip |
Fix Grid header adding and removing with select all checkbox (#17592)
Change-Id: Ib842e171b50366e8830cd50ca0b04a346e298a1d
Diffstat (limited to 'uitest')
-rw-r--r-- | uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridSelectionTest.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridSelectionTest.java b/uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridSelectionTest.java index b4eb473d4b..74972fe4d2 100644 --- a/uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridSelectionTest.java +++ b/uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridSelectionTest.java @@ -271,6 +271,20 @@ public class GridSelectionTest extends GridBasicFeaturesTest { } @Test + public void testSelectAllCheckboxWithHeaderOperations() { + openTestURL(); + + setSelectionModelMulti(); + selectMenuPath("Component", "Header", "Prepend row"); + selectMenuPath("Component", "Header", "Append row"); + + GridCellElement header = getGridElement().getHeaderCell(1, 0); + assertTrue("Multi Selection Model should have select all checkbox", + header.isElementPresent(By.tagName("input"))); + + } + + @Test public void testToggleDeselectAllowed() { openTestURL(); |