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 754 forks source link

On OS X Catalina, the emulator must already be open for Test In Emulator to work #2173

Open bradrlaw opened 4 years ago

bradrlaw commented 4 years ago

When using the Test in Emulator option, if the emulator is not already open, the conversation will not be started in the emulator. The emulator will be opened, but it will sit at the welcome screen.

If the emulator is open, then the Live Chat session is opened to the bot as expected and you can test the bot.

Version

Bot Framework Composer

            Version:  1.0.2
            Electron: 8.2.4
            Chrome: 80.0.3987.165
            NodeJS: 12.13.0
            V8: 8.0.426.27-electron.0

Browser

OS

To Reproduce

Steps to reproduce the behavior:

  1. Open a bot in composer without the emulator already running
  2. Click on Start Bot
  3. Click on Test in Emulator
  4. Notice the emulator start
  5. Notice the conversation with the bot does not start with the bot and the emulator stays at welcome screen
  6. Click on Test in Emulator again
  7. Notice the conversation starts with the bot in the emulator

Expected behavior

I would expect the conversation to start on the first click even if the emulator is not already running and must be started.

Screenshots

Additional context

cwhitten commented 4 years ago

Investigating for R11. We want to keep the experience consistent across Windows & Mac. What we're seeing is:

On Mac as @bradrlaw mentions the Emulator needs to be open to start the conversation. On Windows, Test in Emulator will always spawn an entirely new instance of the Emulator.

Ideally Test in Emulator will start the Emulator if it is not open, and not create a new instance of the application if it is already open.