aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/components/grid/basicfeatures/GridBasicFeaturesTest.java
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <teemusa@vaadin.com>2014-07-18 11:18:58 +0300
committerTeemu Suo-Anttila <teemusa@vaadin.com>2014-07-22 22:52:58 +0300
commit0bbd14486e3839c60e1e59f12dc959b133b6ed05 (patch)
tree76ad3d3bf6acf7b7383ab45457a1f70e3e8c658e /uitest/src/com/vaadin/tests/components/grid/basicfeatures/GridBasicFeaturesTest.java
parent14667cc349f8c8d65966638b9fc2a0b272f6ec7c (diff)
downloadvaadin-framework-0bbd14486e3839c60e1e59f12dc959b133b6ed05.tar.gz
vaadin-framework-0bbd14486e3839c60e1e59f12dc959b133b6ed05.zip
Implement Tab navigation for Grid (#13334)
Change-Id: If2c1f3db23247355439360def983dba714979a48
Diffstat (limited to 'uitest/src/com/vaadin/tests/components/grid/basicfeatures/GridBasicFeaturesTest.java')
-rw-r--r--uitest/src/com/vaadin/tests/components/grid/basicfeatures/GridBasicFeaturesTest.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/components/grid/basicfeatures/GridBasicFeaturesTest.java b/uitest/src/com/vaadin/tests/components/grid/basicfeatures/GridBasicFeaturesTest.java
index cc48f11c69..94d9766f78 100644
--- a/uitest/src/com/vaadin/tests/components/grid/basicfeatures/GridBasicFeaturesTest.java
+++ b/uitest/src/com/vaadin/tests/components/grid/basicfeatures/GridBasicFeaturesTest.java
@@ -23,6 +23,7 @@ import org.openqa.selenium.JavascriptExecutor;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.interactions.Actions;
+import org.openqa.selenium.remote.DesiredCapabilities;
import com.vaadin.testbench.TestBenchElement;
import com.vaadin.tests.annotations.TestCategory;
@@ -33,6 +34,15 @@ import com.vaadin.tests.tb3.MultiBrowserTest;
public abstract class GridBasicFeaturesTest extends MultiBrowserTest {
@Override
+ protected DesiredCapabilities getDesiredCapabilities() {
+ DesiredCapabilities dCap = super.getDesiredCapabilities();
+ if (BrowserUtil.isIE(dCap)) {
+ dCap.setCapability("requireWindowFocus", true);
+ }
+ return super.getDesiredCapabilities();
+ }
+
+ @Override
protected Class<?> getUIClass() {
return GridBasicFeatures.class;
}