diff options
author | Teemu Suo-Anttila <tsuoanttila@users.noreply.github.com> | 2018-05-09 11:32:47 +0300 |
---|---|---|
committer | Ilia Motornyi <elmot@vaadin.com> | 2018-05-09 11:32:47 +0300 |
commit | 977affb7b8633a7bee43d2fd40a86de21c62492e (patch) | |
tree | 0d3ca56ff99550706121f25606eceb417b1e96f4 /test/widget-set-testutil | |
parent | 3e82a2b5481aff31c063ba9ed2952b32c5784388 (diff) | |
download | vaadin-framework-977affb7b8633a7bee43d2fd40a86de21c62492e.tar.gz vaadin-framework-977affb7b8633a7bee43d2fd40a86de21c62492e.zip |
Fix broken integration tests (#10900)
Diffstat (limited to 'test/widget-set-testutil')
-rw-r--r-- | test/widget-set-testutil/src/main/java/com/vaadin/test/defaultwidgetset/AbstractWidgetSetIT.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/widget-set-testutil/src/main/java/com/vaadin/test/defaultwidgetset/AbstractWidgetSetIT.java b/test/widget-set-testutil/src/main/java/com/vaadin/test/defaultwidgetset/AbstractWidgetSetIT.java index 28657067d3..b53a81ad39 100644 --- a/test/widget-set-testutil/src/main/java/com/vaadin/test/defaultwidgetset/AbstractWidgetSetIT.java +++ b/test/widget-set-testutil/src/main/java/com/vaadin/test/defaultwidgetset/AbstractWidgetSetIT.java @@ -69,6 +69,9 @@ public abstract class AbstractWidgetSetIT extends TestBenchTestCase { } protected void assertHasDebugMessage(String message) { + // Make sure the correct debug window tab is open. + findElements(By.className("v-debugwindow-tab")).get(0).click(); + List<WebElement> elements = getDriver().findElements( By.xpath("//span[@class='v-debugwindow-message']")); boolean found = false; |