summaryrefslogtreecommitdiffstats
path: root/uitest/src
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-06 13:33:14 +0200
commit787a1f1a796a6f564303bc6c6ff322f3e9f57026 (patch)
tree093b5bb4676386a27b446f692cbef34fc3ca5039 /uitest/src
parent09b2e3225dc4dae55afe68ea705eff3eee0bc7c6 (diff)
downloadvaadin-framework-8.3.1.tar.gz
vaadin-framework-8.3.1.zip
Fix Grid initial render performance (#10579)8.3.1
Fixes #10232
Diffstat (limited to 'uitest/src')
-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();
+ }
}