summaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <tsuoanttila@users.noreply.github.com>2018-02-05 15:24:16 +0200
committerIlia Motornyi <elmot@vaadin.com>2018-02-05 15:24:16 +0200
commitd1749cbaf92f1a2dccd22ca15c3f785e0019ff9e (patch)
tree6644fc09cb749a510c4fc46b270f325330e0c064 /uitest
parent4580cd0dc618a4a2a4a3e8f1c6ccbcb3814afc82 (diff)
downloadvaadin-framework-d1749cbaf92f1a2dccd22ca15c3f785e0019ff9e.tar.gz
vaadin-framework-d1749cbaf92f1a2dccd22ca15c3f785e0019ff9e.zip
Fix Grid initial render performance (#10579)
Fixes #10232
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();
+ }
}