From d1749cbaf92f1a2dccd22ca15c3f785e0019ff9e Mon Sep 17 00:00:00 2001 From: Teemu Suo-Anttila Date: Mon, 5 Feb 2018 15:24:16 +0200 Subject: Fix Grid initial render performance (#10579) Fixes #10232 --- .../tests/components/grid/GridRemoveColumnAndDetachTest.java | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'uitest') 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(); + } } -- cgit v1.2.3