]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fix SendMultiByteCharactersTest for Firefox (#8553)
authorHenri Sara <henri.sara@gmail.com>
Tue, 14 Feb 2017 06:18:43 +0000 (08:18 +0200)
committerGitHub <noreply@github.com>
Tue, 14 Feb 2017 06:18:43 +0000 (08:18 +0200)
uitest/src/test/java/com/vaadin/tests/push/SendMultibyteCharactersTest.java

index 03e824aa19bd78570412ef72a928c25f11be372b..5d86e701aa24dc0101f53daabdba88f62327a88e 100644 (file)
@@ -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);