aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeamcity <build@vaadin.com>2015-04-22 12:40:26 +0300
committerTeamcity <build@vaadin.com>2015-04-22 12:40:26 +0300
commit9b3c414490beabb6e555585b0ca0b44258f1088b (patch)
treed1bf4f88f681cdc67c5fb69ae2c5309506270104
parent6a2219dfd3ba93cc24ae6dcff09228e006b28ccf (diff)
parenta69660c9d8cb35fc73af09b42df82c7a4a153caa (diff)
downloadvaadin-framework-9b3c414490beabb6e555585b0ca0b44258f1088b.tar.gz
vaadin-framework-9b3c414490beabb6e555585b0ca0b44258f1088b.zip
Merge branch 'refs/heads/grid-7.5' into 'snapshot/7.5'
-rw-r--r--client/src/com/vaadin/client/widgets/Escalator.java2
-rw-r--r--uitest/src/com/vaadin/tests/components/grid/basicfeatures/EscalatorBasicClientFeaturesTest.java2
-rw-r--r--uitest/src/com/vaadin/tests/components/grid/basicfeatures/escalator/EscalatorSpacerTest.java12
3 files changed, 8 insertions, 8 deletions
diff --git a/client/src/com/vaadin/client/widgets/Escalator.java b/client/src/com/vaadin/client/widgets/Escalator.java
index eae5789b8a..cfbbb7dace 100644
--- a/client/src/com/vaadin/client/widgets/Escalator.java
+++ b/client/src/com/vaadin/client/widgets/Escalator.java
@@ -4871,7 +4871,7 @@ public class Escalator extends Widget implements RequiresResize,
.toString();
deco.getStyle().setProperty("clip", clip);
} else {
- deco.getStyle().clearProperty("clip");
+ deco.getStyle().setProperty("clip", "auto");
}
}
}
diff --git a/uitest/src/com/vaadin/tests/components/grid/basicfeatures/EscalatorBasicClientFeaturesTest.java b/uitest/src/com/vaadin/tests/components/grid/basicfeatures/EscalatorBasicClientFeaturesTest.java
index 862e959ebc..c1b8028cbf 100644
--- a/uitest/src/com/vaadin/tests/components/grid/basicfeatures/EscalatorBasicClientFeaturesTest.java
+++ b/uitest/src/com/vaadin/tests/components/grid/basicfeatures/EscalatorBasicClientFeaturesTest.java
@@ -31,7 +31,7 @@ import com.vaadin.testbench.TestBenchElement;
import com.vaadin.testbench.parallel.TestCategory;
import com.vaadin.tests.tb3.MultiBrowserTest;
-@TestCategory("escalator")
+@TestCategory("grid")
public abstract class EscalatorBasicClientFeaturesTest extends MultiBrowserTest {
private static final String LOGICAL_ROW_ATTRIBUTE_NAME = "vLogicalRow";
diff --git a/uitest/src/com/vaadin/tests/components/grid/basicfeatures/escalator/EscalatorSpacerTest.java b/uitest/src/com/vaadin/tests/components/grid/basicfeatures/escalator/EscalatorSpacerTest.java
index 71cc19ecdd..e044c192f7 100644
--- a/uitest/src/com/vaadin/tests/components/grid/basicfeatures/escalator/EscalatorSpacerTest.java
+++ b/uitest/src/com/vaadin/tests/components/grid/basicfeatures/escalator/EscalatorSpacerTest.java
@@ -34,6 +34,7 @@ import org.openqa.selenium.WebElement;
import com.vaadin.client.WidgetUtil;
import com.vaadin.shared.ui.grid.Range;
+import com.vaadin.testbench.TestBenchElement;
import com.vaadin.testbench.elements.NotificationElement;
import com.vaadin.testbench.parallel.BrowserUtil;
import com.vaadin.tests.components.grid.basicfeatures.EscalatorBasicClientFeaturesTest;
@@ -450,7 +451,8 @@ public class EscalatorSpacerTest extends EscalatorBasicClientFeaturesTest {
selectMenuPath(FEATURES, SPACERS, FOCUSABLE_UPDATER);
selectMenuPath(FEATURES, SPACERS, ROW_1, SET_100PX);
tryToTabIntoFocusUpdaterElement();
- assertEquals("input", getFocusedElement().getTagName());
+ WebElement focusedElement = getFocusedElement();
+ assertEquals("input", focusedElement.getTagName());
}
@Test
@@ -485,11 +487,9 @@ public class EscalatorSpacerTest extends EscalatorBasicClientFeaturesTest {
}
private void tryToTabIntoFocusUpdaterElement() {
- getEscalator().sendKeys( //
- Keys.TAB, // v-ui v-scrollable
- Keys.TAB, // menubar
- Keys.TAB // <input>
- );
+ ((TestBenchElement) findElement(By.className("gwt-MenuBar"))).focus();
+ WebElement focusedElement = getFocusedElement();
+ focusedElement.sendKeys(Keys.TAB);
}
private WebElement getChild(WebElement parent, int childIndex) {