aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);