diff options
author | Henri Sara <henri.sara@gmail.com> | 2017-02-14 08:18:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-14 08:18:43 +0200 |
commit | 12529d131a138520de5367057802a8b0f5c67b9a (patch) | |
tree | e4664f67c4e8b3a7abe0f4da0b59f91ab87adcdf | |
parent | 4c61090f2da4109f8455fd03df9c876a0286fc07 (diff) | |
download | vaadin-framework-12529d131a138520de5367057802a8b0f5c67b9a.tar.gz vaadin-framework-12529d131a138520de5367057802a8b0f5c67b9a.zip |
Fix SendMultiByteCharactersTest for Firefox (#8553)
-rw-r--r-- | uitest/src/test/java/com/vaadin/tests/push/SendMultibyteCharactersTest.java | 5 |
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); |