summaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
authorHenri Sara <henri.sara@gmail.com>2017-02-14 08:18:43 +0200
committerGitHub <noreply@github.com>2017-02-14 08:18:43 +0200
commit12529d131a138520de5367057802a8b0f5c67b9a (patch)
treee4664f67c4e8b3a7abe0f4da0b59f91ab87adcdf /uitest
parent4c61090f2da4109f8455fd03df9c876a0286fc07 (diff)
downloadvaadin-framework-12529d131a138520de5367057802a8b0f5c67b9a.tar.gz
vaadin-framework-12529d131a138520de5367057802a8b0f5c67b9a.zip
Fix SendMultiByteCharactersTest for Firefox (#8553)
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/test/java/com/vaadin/tests/push/SendMultibyteCharactersTest.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/uitest/src/test/java/com/vaadin/tests/push/SendMultibyteCharactersTest.java b/uitest/src/test/java/com/vaadin/tests/push/SendMultibyteCharactersTest.java
index 03e824aa19..5d86e701aa 100644
--- a/uitest/src/test/java/com/vaadin/tests/push/SendMultibyteCharactersTest.java
+++ b/uitest/src/test/java/com/vaadin/tests/push/SendMultibyteCharactersTest.java
@@ -30,10 +30,11 @@ public abstract class SendMultibyteCharactersTest extends MultiBrowserTest {
text.append("之は日本語です、テストです。");
}
- textArea.sendKeys(text.toString());
-
+ // timing matters for Firefox, this needs to be before sendKeys
clearDebugMessages();
+ textArea.sendKeys(text.toString());
+
findElement(By.tagName("body")).click();
waitForDebugMessage("RPC invocations to be sent to the server:", 5);