microsoft / BotFramework-Emulator

A desktop application that allows users to locally test and debug chat bots built with the Bot Framework SDK.
https://aka.ms/botemulator
MIT License
1.81k stars 753 forks source link

The Delay Activity type does not work as expected #2206

Open EricDahlvang opened 3 years ago

EricDahlvang commented 3 years ago

Version

latest

Describe the bug

Sending an Activity with Text, then the Delay activity type, then a 2nd text, will result in a delayed 2nd message showing up for the user. However, the Emulator does not show the 1st response until the 2nd text arrives.

To Reproduce

Steps to reproduce the behavior:

  1. Create an Echo bot
  2. Send an Echo response, a delay of three seconds, then another response
  3. Test from emulator: see both responses show up at once
  4. Test from webchat, or other channels: see one response, few seconds, 2nd response

Expected behavior

Emulator should show one response, few seconds, then 2nd response: similar to other channels.

reference: https://github.com/microsoft/botbuilder-dotnet/issues/4509#issuecomment-711431764

[bug]

EricDahlvang commented 3 years ago

another reference:

https://github.com/microsoft/BotFramework-Emulator/issues/2206