From 12529d131a138520de5367057802a8b0f5c67b9a Mon Sep 17 00:00:00 2001 From: Henri Sara Date: Tue, 14 Feb 2017 08:18:43 +0200 Subject: [PATCH] Fix SendMultiByteCharactersTest for Firefox (#8553) --- .../com/vaadin/tests/push/SendMultibyteCharactersTest.java | 5 +++-- 1 file 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); -- 2.39.5