summaryrefslogtreecommitdiffstats
path: root/uitest/src/main
diff options
context:
space:
mode:
authorPiotr Wilkin <piotr.wilkin@syndatis.com>2018-02-14 08:50:11 +0100
committerIlia Motornyi <elmot@vaadin.com>2018-02-14 09:50:11 +0200
commitfd4dedf921f6cf0f80bfedac8474562b41325e56 (patch)
tree1525309dadea9d8bbae74d04ea8650e17ee389dc /uitest/src/main
parent33647404e97b80bc12c7fde76d23ea4abe97bf4f (diff)
downloadvaadin-framework-fd4dedf921f6cf0f80bfedac8474562b41325e56.tar.gz
vaadin-framework-fd4dedf921f6cf0f80bfedac8474562b41325e56.zip
Fixes Grid editor visibility inside TabSheet (#10557)
Fixes #10146 Fixes #10543
Diffstat (limited to 'uitest/src/main')
-rw-r--r--uitest/src/main/java/com/vaadin/tests/components/grid/basics/GridBasics.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/uitest/src/main/java/com/vaadin/tests/components/grid/basics/GridBasics.java b/uitest/src/main/java/com/vaadin/tests/components/grid/basics/GridBasics.java
index 0deb5b1b3a..484452b6ac 100644
--- a/uitest/src/main/java/com/vaadin/tests/components/grid/basics/GridBasics.java
+++ b/uitest/src/main/java/com/vaadin/tests/components/grid/basics/GridBasics.java
@@ -792,6 +792,8 @@ public class GridBasics extends AbstractTestUIWithLog {
editorMenu.addItem("Save", i -> grid.getEditor().save());
editorMenu.addItem("Cancel edit", i -> grid.getEditor().cancel());
+ editorMenu.addItem("Hide grid", i -> grid.setVisible(false));
+ editorMenu.addItem("Show grid", i -> grid.setVisible(true));
Stream.of(0, 5, 100).forEach(i -> editorMenu.addItem("Edit row " + i,
menuItem -> grid.getEditor().editRow(i)));