codeforequity-at / botium-core

The Selenium for Chatbots - Bots Testing Bots
https://www.botium.ai
MIT License
229 stars 64 forks source link

Suggested actions button click not working from Live Chat - Botium Box #592

Closed hiteshtare closed 3 years ago

hiteshtare commented 3 years ago

Describe the bug Getting error when trying to click on suggestion actions (Bot Framework v4) from Live Chat section in Botium Box (Mini Edition). But works fine in Botium Box Community Edition

How to reproduce 1.Develop new chatbot using Bot Framework v4. This bot should send Suggestion Actions.

https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-howto-add-suggested-actions?view=azure-bot-service-4.0&tabs=javascript

2.Add this bot to the Chatbots list in Botium Box using Direct Line 3 connector 3.Click on Live Chat. 4.When connected, try to click on suggestion Actions Help button (any one of the six mentioned in the screenshot below) throws error.

To Reproduce Try clicking on suggestion Actions button throws an error Failed sending to chatbot: cannot read property map of undefined

Expected behavior Clicked suggestion action should be sent to the bot, so that approipriate response is received.

Screenshots and Log files Error throw in Mini Edition Failed sending to chatbot

Botium Flavour:

Botium Version Build Branch: release/2.8.1 Build Revision: 679b127ae7ea591c0bbb8183c53bd3fe5b6cce42 Build Date: 2020-11-17T14:02:51+0000

Additional context

Working fine in Botium Box (Community Edition). works fine in community edition Build Branch: release/2.3.0 Build Revision: 57a00c7b6c87219ee88b5ed0a2f92346119ef326 Build Date: 2020-02-23T19:55:45+0000

szabi84 commented 3 years ago

Hi hiteshtare,

Tonight we will release a new version of mini (2.8.2), with that the problem should disappear.

hiteshtare commented 3 years ago

@szabi84 Thanks! this bug has been resolved on the following.

Botium Version Build Branch: release/2.8.2 Build Revision: 277b7ae22e2ff3d5a4b7cf39f86ce8aa124c778d Build Date: 2020-11-30T10:23:18+0000