summaryrefslogtreecommitdiffstats
path: root/uitest/src
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2015-09-04 10:02:49 +0300
committerMika Murtojarvi <mika@vaadin.com>2015-09-09 18:19:55 +0300
commit61877c75735d4b012faea16a6ba1639ffddfbad5 (patch)
tree0a0aded459381462f00aaca59192c48872eb092e /uitest/src
parentcc2078de2a9720426fde2634729cbaf1b3476f62 (diff)
downloadvaadin-framework-61877c75735d4b012faea16a6ba1639ffddfbad5.tar.gz
vaadin-framework-61877c75735d4b012faea16a6ba1639ffddfbad5.zip
Find the Grid again after changing theme as the whole UI is re-created
Change-Id: I3b77239d86b00541cd26be27dac067e043ea873b
Diffstat (limited to 'uitest/src')
-rw-r--r--uitest/src/com/vaadin/tests/components/grid/GridThemeChangeTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/uitest/src/com/vaadin/tests/components/grid/GridThemeChangeTest.java b/uitest/src/com/vaadin/tests/components/grid/GridThemeChangeTest.java
index 182bec04c9..1e2b8f4335 100644
--- a/uitest/src/com/vaadin/tests/components/grid/GridThemeChangeTest.java
+++ b/uitest/src/com/vaadin/tests/components/grid/GridThemeChangeTest.java
@@ -36,7 +36,7 @@ public class GridThemeChangeTest extends MultiBrowserTest {
@Test
public void testThemeChange() {
- openTestURL();
+ openTestURL("debug");
GridElement grid = $(GridElement.class).first();
@@ -44,6 +44,7 @@ public class GridThemeChangeTest extends MultiBrowserTest {
grid.getCell(0, 0).click();
+ grid = $(GridElement.class).first();
int valoHeight = grid.getRow(0).getSize().getHeight();
Assert.assertTrue(