summaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <teemusa@vaadin.com>2015-07-06 17:28:58 +0300
committerTeemu Suo-Anttila <teemusa@vaadin.com>2015-07-07 14:33:09 +0000
commitb17b59938b9f916cefe2eca14120622e66961de1 (patch)
tree2b872168729fa9efb80ae4ae692976aafa527933 /uitest
parent7946a939001ed6eacdce03b4a4e7c16b7430a8e6 (diff)
downloadvaadin-framework-b17b59938b9f916cefe2eca14120622e66961de1.tar.gz
vaadin-framework-b17b59938b9f916cefe2eca14120622e66961de1.zip
Fix Grid header adding and removing with select all checkbox (#17592)
Change-Id: I4306635ca334429ef006216c5b35165cf89a938f
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridSelectionTest.java14
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();