summaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/test/java/com/vaadin/tests/components/grid/GridRemoveColumnAndDetachTest.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/uitest/src/test/java/com/vaadin/tests/components/grid/GridRemoveColumnAndDetachTest.java b/uitest/src/test/java/com/vaadin/tests/components/grid/GridRemoveColumnAndDetachTest.java
index 930b1c7036..15527633e6 100644
--- a/uitest/src/test/java/com/vaadin/tests/components/grid/GridRemoveColumnAndDetachTest.java
+++ b/uitest/src/test/java/com/vaadin/tests/components/grid/GridRemoveColumnAndDetachTest.java
@@ -72,4 +72,13 @@ public class GridRemoveColumnAndDetachTest extends SingleBrowserTest {
$(ButtonElement.class).id("remove3").click();
assertVisibleFrozenColumns(2);
}
+
+ @Test
+ public void allColumnsFrozenRemoveLast() {
+ openTestURL("debug");
+ $(ButtonElement.class).id("remove3").click();
+ $(ButtonElement.class).id("remove2").click();
+ assertVisibleFrozenColumns(1);
+ assertNoErrorNotifications();
+ }
}