From: Henri Sara Date: Tue, 14 Feb 2017 06:18:43 +0000 (+0200) Subject: Fix SendMultiByteCharactersTest for Firefox (#8553) X-Git-Tag: 8.1.0.alpha1~125 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=12529d131a138520de5367057802a8b0f5c67b9a;p=vaadin-framework.git Fix SendMultiByteCharactersTest for Firefox (#8553) --- 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);