From df0a4ae5bc6f5588827ca877175aaaf33b4671bd Mon Sep 17 00:00:00 2001 From: Teemu Suo-Anttila Date: Wed, 3 Jun 2015 12:06:04 +0300 Subject: [PATCH] Fix GridEditorClientTest focus checks on IE8 Change-Id: I68f63cf521fd81c8b5a384c60d88526365d3c9af --- .../grid/basicfeatures/client/GridEditorClientTest.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uitest/src/com/vaadin/tests/components/grid/basicfeatures/client/GridEditorClientTest.java b/uitest/src/com/vaadin/tests/components/grid/basicfeatures/client/GridEditorClientTest.java index ec309c17a1..f437589a39 100644 --- a/uitest/src/com/vaadin/tests/components/grid/basicfeatures/client/GridEditorClientTest.java +++ b/uitest/src/com/vaadin/tests/components/grid/basicfeatures/client/GridEditorClientTest.java @@ -271,7 +271,10 @@ public class GridEditorClientTest extends GridBasicClientFeaturesTest { WebElement focused = getFocusedElement(); - if (BrowserUtil.isIE(getDesiredCapabilities())) { + if (BrowserUtil.isIE8(getDesiredCapabilities())) { + assertEquals("Focus should be in html", "html", + focused.getTagName()); + } else if (BrowserUtil.isIE(getDesiredCapabilities())) { assertEquals("Focus should be nowhere", null, focused); } else { // GWT menubar loses focus after clicking a menuitem -- 2.39.5