diff --git a/libraries/bot-builder/src/test/java/com/microsoft/bot/builder/TranscriptMiddlewareTest.java b/libraries/bot-builder/src/test/java/com/microsoft/bot/builder/TranscriptMiddlewareTest.java index be530436d..4fbd98a13 100644 --- a/libraries/bot-builder/src/test/java/com/microsoft/bot/builder/TranscriptMiddlewareTest.java +++ b/libraries/bot-builder/src/test/java/com/microsoft/bot/builder/TranscriptMiddlewareTest.java @@ -65,9 +65,9 @@ public final void Transcript_LogActivities() { context.sendActivity("echo:" + context.getActivity().getText()).join(); return CompletableFuture.completedFuture(null); } - ).send("foo").assertReply( + ).send("foo").delay(50).assertReply( (activity) -> Assert.assertEquals(activity.getType(), ActivityTypes.TYPING) - ).assertReply("echo:foo").send("bar").assertReply( + ).assertReply("echo:foo").send("bar").delay(50).assertReply( (activity) -> Assert.assertEquals(activity.getType(), ActivityTypes.TYPING) ).assertReply("echo:bar").startTest().join();