Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composer does not connect Emulator to bot when selecting "Test in Emulator" on MacOS #7710

Closed
2 of 8 tasks
thomas-chung opened this issue May 7, 2021 · 4 comments
Closed
2 of 8 tasks
Labels
Needs-triage A new issue that require triage Type: Bug Something isn't working

Comments

@thomas-chung
Copy link

Describe the bug

I can confirm this problem only happens on macOS and not Windows. When a user creates a bot (e.g. empty) and hit run on macOS, then clicking "Test in Emulator", the Emulator starts but does not connect to the bot. The work around would be instructing the user to manually open the bot.

This behavior is different from Windows where the same step would result with Emulator connecting to the bot upon opening.

Version

Version: 2.0.0-nightly.243450.6728c56
Electron: 8.2.4
Chrome: 80.0.3987.165
NodeJS: 12.13.0
V8: 8.0.426.27-electron.0

Browser

  • Electron distribution
  • Chrome
  • Safari
  • Firefox
  • Edge

OS

  • macOS
  • Windows
  • Ubuntu

To Reproduce

Steps to reproduce the behavior:

  1. Create a new bot using a template (e.g. Empty)
  2. Start the bot locally
  3. Click "Test in Emulator"

Expected behavior

Emulator opens, connects to bot, and user can start interacting with the bot.

Screenshots

Additional context

@thomas-chung thomas-chung added Type: Bug Something isn't working Needs-triage A new issue that require triage labels May 7, 2021
@hatpick
Copy link
Contributor

hatpick commented May 11, 2021

I think this is a known issue with deep linking on mac os, once the app is open, clicking the button again works as expected./
@tonyanziano can you comment on this?

@tonyanziano
Copy link
Contributor

@thomas-chung which version of the Emulator are you currently using?

We were seeing this same behavior when opening deep links on Mac in Composer and it was fixed in #6738.

Andy then ported this same fix over to the Emulator code base (microsoft/BotFramework-Emulator#2252) because it was using a similar deep link handler.

So I expect it to be fixed in the newest version of Emulator, 4.13.0

@thomas-chung
Copy link
Author

@tonyanziano It was 2.0.0-nightly.243450.6728c56

@tonyanziano
Copy link
Contributor

@thomas-chung the Emulator and Composer are on different major versions. Which version of the Emulator are you using?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs-triage A new issue that require triage Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants