summaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <teemusa@vaadin.com>2015-01-09 15:10:14 +0200
committerTeemu Suo-Anttila <teemusa@vaadin.com>2015-01-09 15:10:14 +0200
commit8126e115cc9cbca30d1744faeff1cdd40508a50c (patch)
treee12f6ccecbafe6c907d8a94ec46cdf9fe0190cae /uitest
parent329a24756347cdaf49441fcd9c8e96255fdb732e (diff)
downloadvaadin-framework-8126e115cc9cbca30d1744faeff1cdd40508a50c.tar.gz
vaadin-framework-8126e115cc9cbca30d1744faeff1cdd40508a50c.zip
Fix GridInTabSheet test and add @TestCategory to it
Change-Id: Iea84d75c066590b6517cedfc520c8963574a85e1
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/com/vaadin/tests/components/grid/GridInTabSheet.java2
-rw-r--r--uitest/src/com/vaadin/tests/components/grid/GridInTabSheetTest.java2
2 files changed, 4 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/components/grid/GridInTabSheet.java b/uitest/src/com/vaadin/tests/components/grid/GridInTabSheet.java
index 4a331f3fa4..6c7f254a0d 100644
--- a/uitest/src/com/vaadin/tests/components/grid/GridInTabSheet.java
+++ b/uitest/src/com/vaadin/tests/components/grid/GridInTabSheet.java
@@ -20,6 +20,7 @@ import com.vaadin.tests.components.AbstractTestUI;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
import com.vaadin.ui.Grid;
+import com.vaadin.ui.Grid.SelectionMode;
import com.vaadin.ui.Label;
import com.vaadin.ui.TabSheet;
@@ -29,6 +30,7 @@ public class GridInTabSheet extends AbstractTestUI {
protected void setup(VaadinRequest request) {
TabSheet sheet = new TabSheet();
final Grid grid = new Grid();
+ grid.setSelectionMode(SelectionMode.MULTI);
grid.addColumn("count", Integer.class);
for (Integer i = 0; i < 3; ++i) {
grid.addRow(i);
diff --git a/uitest/src/com/vaadin/tests/components/grid/GridInTabSheetTest.java b/uitest/src/com/vaadin/tests/components/grid/GridInTabSheetTest.java
index 0fe15b149b..cd165e4678 100644
--- a/uitest/src/com/vaadin/tests/components/grid/GridInTabSheetTest.java
+++ b/uitest/src/com/vaadin/tests/components/grid/GridInTabSheetTest.java
@@ -23,8 +23,10 @@ import org.junit.Test;
import com.vaadin.testbench.elements.ButtonElement;
import com.vaadin.testbench.elements.GridElement;
import com.vaadin.testbench.elements.NotificationElement;
+import com.vaadin.tests.annotations.TestCategory;
import com.vaadin.tests.tb3.MultiBrowserTest;
+@TestCategory("grid")
public class GridInTabSheetTest extends MultiBrowserTest {
@Test