aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <teemusa@vaadin.com>2014-07-15 14:36:26 +0300
committerTeemu Suo-Anttila <teemusa@vaadin.com>2014-07-15 14:36:26 +0300
commit44093bb40c6759e02bb7df3a27f649725e2f145d (patch)
tree83a4026668961d34cd8aa7874f66c2771e6540ac /uitest/src
parent9c8211611b3b49c877966e6b4248aecb5bf27c27 (diff)
downloadvaadin-framework-44093bb40c6759e02bb7df3a27f649725e2f145d.tar.gz
vaadin-framework-44093bb40c6759e02bb7df3a27f649725e2f145d.zip
Refactor GridKeyboardNavigationTest
GridKeyboardNavigationTest is now a subclass of GridBasicFeaturesTest. Change-Id: Ibb169526a035fb77a66024a5170996d9a0607b02
Diffstat (limited to 'uitest/src')
-rw-r--r--uitest/src/com/vaadin/tests/components/grid/basicfeatures/GridKeyboardNavigationTest.java (renamed from uitest/src/com/vaadin/tests/components/grid/GridKeyboardNavigationTest.java)15
1 files changed, 3 insertions, 12 deletions
diff --git a/uitest/src/com/vaadin/tests/components/grid/GridKeyboardNavigationTest.java b/uitest/src/com/vaadin/tests/components/grid/basicfeatures/GridKeyboardNavigationTest.java
index 927b941131..94a25aa321 100644
--- a/uitest/src/com/vaadin/tests/components/grid/GridKeyboardNavigationTest.java
+++ b/uitest/src/com/vaadin/tests/components/grid/basicfeatures/GridKeyboardNavigationTest.java
@@ -13,21 +13,16 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
-package com.vaadin.tests.components.grid;
+package com.vaadin.tests.components.grid.basicfeatures;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
-import com.vaadin.tests.tb3.MultiBrowserTest;
+import com.vaadin.tests.components.grid.GridElement;
-public class GridKeyboardNavigationTest extends MultiBrowserTest {
-
- @Override
- protected Class<?> getUIClass() {
- return GridBasicFeatures.class;
- }
+public class GridKeyboardNavigationTest extends GridBasicFeaturesTest {
@Test
public void testCellActiveOnClick() {
@@ -59,8 +54,4 @@ public class GridKeyboardNavigationTest extends MultiBrowserTest {
return grid.getCell(row, col).getAttribute("class")
.contains("-cell-active");
}
-
- private GridElement getGridElement() {
- return $(GridElement.class).first();
- }
}