Botium Amazon Lex – Cannot Find Buttons

I am trying to write a simple test that will assert if buttons are present for my bot. I am using botium to test this. I am using amazon lex. I run this from the command line: botium-cli run

I have the following conversation file:

Conversation File

I receive the following error when running from the command line:

Command Line Error

I can see this response from the bot in the logs:

Bot Logs

I believe that I must return the responseCardin order to access the buttons and thus have the test passing.

Is the responsecard what I need? How else could I go about getting the buttons that the bot returns?

Thanks in advance!



Read more here: https://stackoverflow.com/questions/66278110/botium-amazon-lex-cannot-find-buttons

Content Attribution

This content was originally published by Wool at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: