]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fix GridInTabSheet test and add @TestCategory to it
authorTeemu Suo-Anttila <teemusa@vaadin.com>
Fri, 9 Jan 2015 13:10:14 +0000 (15:10 +0200)
committerTeemu Suo-Anttila <teemusa@vaadin.com>
Fri, 9 Jan 2015 13:10:14 +0000 (15:10 +0200)
Change-Id: Iea84d75c066590b6517cedfc520c8963574a85e1

uitest/src/com/vaadin/tests/components/grid/GridInTabSheet.java
uitest/src/com/vaadin/tests/components/grid/GridInTabSheetTest.java

index 4a331f3fa4a285c169fb4142216a62c55c377148..6c7f254a0dfa9618ab51d32051de12cd0a5c430f 100644 (file)
@@ -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);
index 0fe15b149bcfa33b56d8831d4a939774c14ce781..cd165e4678d63c0e6d1ee6f1c1628a810edb76bc 100644 (file)
@@ -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