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!

Test case and logs look ok, should actually work. To analyse this, can you please run the test with “–verbose” flag and attach the log output here (make sure to clean secrets first)

Here is the log output from running with verbose flag:

C:\Users<user>\Desktop\Bot>botium-cli run --convos cancel_options.convo.txt --verbose
botium-cli Using Botium configuration file ./botium.json +0ms
botium-cli-run command options: {
botium-cli-run _: [ ‘run’ ],
botium-cli-run convos: [ ‘cancel_options.convo.txt’ ],
botium-cli-run C: [ ‘cancel_options.convo.txt’ ],
botium-cli-run verbose: true,
botium-cli-run v: true,
botium-cli-run config: ‘./botium.json’,
botium-cli-run c: ‘./botium.json’,
botium-cli-run output: ‘spec’,
botium-cli-run testsuitename: ‘Botium Test-Suite’,
botium-cli-run n: ‘Botium Test-Suite’,
botium-cli-run expandutterances: false,
botium-cli-run expandscriptingmemory: false,
botium-cli-run timeout: 60,
botium-cli-run ‘$0’: ‘…\…\AppData\Roaming\npm\node_modules\botium-cli\bin\botium-cli.js’
botium-cli-run } +0ms
botium-cli-run Mocha Reporter “spec”, options: undefined +0ms
botium-core-BotDriver Loaded Botium configuration file ./botium.json +0ms
botium-core-BotDriver Changed capability CONFIG to “./botium.json” using environment variables. +2ms
botium-core-BotDriver BuildCompiler: Capabilites: {
botium-core-BotDriver PROJECTNAME: ‘Bot’,
botium-core-BotDriver TESTSESSIONNAME: ‘Botium Test Session’,
botium-core-BotDriver TESTCASENAME: ‘Botium Test Case’,
botium-core-BotDriver TEMPDIR: ‘botiumwork’,
botium-core-BotDriver CLEANUPTEMPDIR: true,
botium-core-BotDriver WAITFORBOTTIMEOUT: 10000,
botium-core-BotDriver SIMULATE_WRITING_SPEED: false,
botium-core-BotDriver SIMPLEREST_PING_RETRIES: 6,
botium-core-BotDriver SIMPLEREST_PING_TIMEOUT: 10000,
botium-core-BotDriver SIMPLEREST_PING_VERB: ‘GET’,
botium-core-BotDriver SIMPLEREST_PING_UPDATE_CONTEXT: true,
botium-core-BotDriver SIMPLEREST_STOP_RETRIES: 6,
botium-core-BotDriver SIMPLEREST_STOP_TIMEOUT: 10000,
botium-core-BotDriver SIMPLEREST_STOP_VERB: ‘GET’,
botium-core-BotDriver SIMPLEREST_START_RETRIES: 6,
botium-core-BotDriver SIMPLEREST_START_TIMEOUT: 10000,
botium-core-BotDriver SIMPLEREST_START_VERB: ‘GET’,
botium-core-BotDriver SIMPLEREST_POLL_VERB: ‘GET’,
botium-core-BotDriver SIMPLEREST_POLL_INTERVAL: 1000,
botium-core-BotDriver SIMPLEREST_POLL_UPDATE_CONTEXT: true,
botium-core-BotDriver SIMPLEREST_METHOD: ‘GET’,
botium-core-BotDriver SIMPLEREST_IGNORE_EMPTY: true,
botium-core-BotDriver SIMPLEREST_TIMEOUT: 10000,
botium-core-BotDriver SIMPLEREST_EXTRA_OPTIONS: {},
botium-core-BotDriver SIMPLEREST_STRICT_SSL: true,
botium-core-BotDriver SIMPLEREST_INBOUND_UPDATE_CONTEXT: true,
botium-core-BotDriver SIMPLEREST_CONTEXT_MERGE_OR_REPLACE: ‘MERGE’,
botium-core-BotDriver SCRIPTING_TXT_EOL: ‘\n’,
botium-core-BotDriver SCRIPTING_XLSX_EOL_WRITE: ‘\r\n’,
botium-core-BotDriver SCRIPTING_XLSX_HASHEADERS: true,
botium-core-BotDriver SCRIPTING_CSV_SKIP_HEADER: true,
botium-core-BotDriver SCRIPTING_CSV_QUOTE: ‘"’,
botium-core-BotDriver SCRIPTING_CSV_ESCAPE: ‘"’,
botium-core-BotDriver SCRIPTING_NORMALIZE_TEXT: true,
botium-core-BotDriver SCRIPTING_ENABLE_MEMORY: false,
botium-core-BotDriver SCRIPTING_ENABLE_MULTIPLE_ASSERT_ERRORS: false,
botium-core-BotDriver SCRIPTING_MATCHING_MODE: ‘wildcardIgnoreCase’,
botium-core-BotDriver SCRIPTING_UTTEXPANSION_MODE: ‘all’,
botium-core-BotDriver SCRIPTING_UTTEXPANSION_RANDOM_COUNT: 1,
botium-core-BotDriver SCRIPTING_UTTEXPANSION_NAMING_MODE: ‘justLineTag’,
botium-core-BotDriver SCRIPTING_UTTEXPANSION_NAMING_UTTERANCE_MAX: ‘16’,
botium-core-BotDriver SCRIPTING_MEMORYEXPANSION_KEEP_ORIG: false,
botium-core-BotDriver ASSERTERS: [],
botium-core-BotDriver LOGIC_HOOKS: [],
botium-core-BotDriver USER_INPUTS: [],
botium-core-BotDriver SECURITY_ALLOW_UNSAFE: true,
botium-core-BotDriver CONTAINERMODE: ‘lex’,
botium-core-BotDriver LEX_REGION: ‘’,
botium-core-BotDriver LEX_ACCESS_KEY_ID: ‘XXXXXXXXX’,
botium-core-BotDriver LEX_SECRET_ACCESS_KEY: ‘XXXXXXXXXXXXX’,
botium-core-BotDriver LEX_PROJECT_NAME: ‘XXXXXXXXX’,
botium-core-BotDriver LEX_PROJECT_ALIAS: ‘XXXXXXXXX’,
botium-core-BotDriver LEX_USER: ‘XXXXXXXXX’,
botium-core-BotDriver LEX_REQUEST_ATTRIBUTES: {
botium-core-BotDriver ‘x-amz-lex:channel-id’: ‘XXXXXXXXX’,
botium-core-BotDriver ‘x-amz-lex:webhook-endpoint-url’: ‘XXXXXXXXX’,
botium-core-BotDriver ‘x-amz-lex:accept-content-types’: ‘PlainText’,
botium-core-BotDriver ‘x-amz-lex:user-id’: ‘XXXXXXXXX’,
botium-core-BotDriver ‘x-amz-lex:slack-team-id’: ‘XXXXXXXXX’,
botium-core-BotDriver ‘x-amz-lex:slack-bot-token’: ‘XXXXXXXXX’,
botium-core-BotDriver ‘x-amz-lex:channel-name’: ‘XXXXXXXXX’,
botium-core-BotDriver ‘x-amz-lex:channel-type’: ‘Slack’
botium-core-BotDriver },
botium-core-BotDriver LEX_SESSION_ATTRIBUTES: {
botium-core-BotDriver candidateId: XXXXXXXXX,
botium-core-BotDriver uname: ‘XXXXXXXXX’,
botium-core-BotDriver email: ‘XXXXXXXXX’,
botium-core-BotDriver firstName: ‘XXXXXXXXX’,
botium-core-BotDriver lastName: ‘XXXXXXXXX’,
botium-core-BotDriver isSponsor: ‘Y’
botium-core-BotDriver },
botium-core-BotDriver CONFIG: ‘./botium.json’
botium-core-BotDriver } +0ms
botium-core-ScriptingProvider Using matching mode: wildcardIgnoreCase +0ms
botium-core-asserterUtils Loaded Default asserter - [
botium-core-asserterUtils ‘BUTTONS’, ‘MEDIA’,
botium-core-asserterUtils ‘CARDS’, ‘PAUSE_ASSERTER’,
botium-core-asserterUtils ‘JSON_PATH’, ‘RESPONSE_LENGTH’,
botium-core-asserterUtils ‘FORMS’, ‘ENTITIES’,
botium-core-asserterUtils ‘ENTITY_VALUES’, ‘ENTITY_CONTENT’,
botium-core-asserterUtils ‘INTENT’, ‘INTENT_UNIQUE’,
botium-core-asserterUtils ‘INTENT_CONFIDENCE’, ‘TEXT_CONTAINS_ANY’,
botium-core-asserterUtils ‘TEXT_CONTAINS_ANY_IC’, ‘TEXT_CONTAINS_ALL’,
botium-core-asserterUtils ‘TEXT_CONTAINS_ALL_IC’, ‘TEXT_WILDCARD_ANY’,
botium-core-asserterUtils ‘TEXT_WILDCARD_ANY_IC’, ‘TEXT_WILDCARD_ALL’,
botium-core-asserterUtils ‘TEXT_WILDCARD_ALL_IC’, ‘TEXT_REGEXP_ANY’,
botium-core-asserterUtils ‘TEXT_REGEXP_ANY_IC’, ‘TEXT_REGEXP_ALL’,
botium-core-asserterUtils ‘TEXT_REGEXP_ALL_IC’, ‘TEXT_EQUALS’,
botium-core-asserterUtils ‘TEXT_EQUALS_IC’, ‘TEXT’,
botium-core-asserterUtils ‘TEXT_IC’
botium-core-asserterUtils ] +0ms
botium-core-asserterUtils Loaded Default logic hook - [
botium-core-asserterUtils ‘PAUSE’,
botium-core-asserterUtils ‘WAITFORBOT’,
botium-core-asserterUtils ‘SET_SCRIPTING_MEMORY’,
botium-core-asserterUtils ‘CLEAR_SCRIPTING_MEMORY’,
botium-core-asserterUtils ‘ASSIGN_SCRIPTING_MEMORY’,
botium-core-asserterUtils ‘UPDATE_CUSTOM’,
botium-core-asserterUtils ‘INCLUDE’
botium-core-asserterUtils ] +1ms
botium-core-asserterUtils Loaded Default user input - [ ‘BUTTON’, ‘MEDIA’, ‘FORM’ ] +0ms
botium-core-ScriptingProvider ReadConvosFromDirectory(.) found filenames: cancel_options.convo.txt +6ms
botium-core-ScriptingProvider ReadConvosFromDirectory(.) found convos:
botium-core-ScriptingProvider 1 Cancel Options (3 Buttons) ({ convoDir: ‘.’, filename: ‘cancel_options.convo.txt’ }): Line 3: #me - Hello | Line 6: #bot - Hey, how can I help you today? | Line 9: #me - cancel | Line 12: #bot - I’ve cancelled that action. Would you like to do something else? BUTTONS() +4ms
botium-core-ScriptingProvider ReadConvosFromDirectory(.) found utterances:
botium-core-ScriptingProvider none +0ms
botium-core-ScriptingProvider ReadConvosFromDirectory(.) found partial convos:
botium-core-ScriptingProvider none +1ms
botium-core-ScriptingProvider ReadConvosFromDirectory(.) scripting memories:
botium-core-ScriptingProvider none +2ms
botium-cli-run ready reading convos (1), expanding convos … +232ms
botium-core-ScriptingProvider ExpandConvos - Using utterances expansion mode: all +1ms
botium-cli-run ready expanding convos and utterances, number of test cases: (1). +18ms
botium-cli-run adding test case Cancel Options (3 Buttons) (from: { convoDir: ‘.’, filename: ‘cancel_options.convo.txt’ }) +2ms

Botium Test-Suite
botium-core-BotDriver Build - Botium Core Version: 1.10.3 +252ms
botium-core-BotDriver Build - Capabilites: {
botium-core-BotDriver PROJECTNAME: ‘Bot’,
botium-core-BotDriver TESTSESSIONNAME: ‘Botium Test Session’,
botium-core-BotDriver TESTCASENAME: ‘Botium Test Case’,
botium-core-BotDriver TEMPDIR: ‘botiumwork’,
botium-core-BotDriver CLEANUPTEMPDIR: true,
botium-core-BotDriver WAITFORBOTTIMEOUT: 10000,
botium-core-BotDriver SIMULATE_WRITING_SPEED: false,
botium-core-BotDriver SIMPLEREST_PING_RETRIES: 6,
botium-core-BotDriver SIMPLEREST_PING_TIMEOUT: 10000,
botium-core-BotDriver SIMPLEREST_PING_VERB: ‘GET’,
botium-core-BotDriver SIMPLEREST_PING_UPDATE_CONTEXT: true,
botium-core-BotDriver SIMPLEREST_STOP_RETRIES: 6,
botium-core-BotDriver SIMPLEREST_STOP_TIMEOUT: 10000,
botium-core-BotDriver SIMPLEREST_STOP_VERB: ‘GET’,
botium-core-BotDriver SIMPLEREST_START_RETRIES: 6,
botium-core-BotDriver SIMPLEREST_START_TIMEOUT: 10000,
botium-core-BotDriver SIMPLEREST_START_VERB: ‘GET’,
botium-core-BotDriver SIMPLEREST_POLL_VERB: ‘GET’,
botium-core-BotDriver SIMPLEREST_POLL_INTERVAL: 1000,
botium-core-BotDriver SIMPLEREST_POLL_UPDATE_CONTEXT: true,
botium-core-BotDriver SIMPLEREST_METHOD: ‘GET’,
botium-core-BotDriver SIMPLEREST_IGNORE_EMPTY: true,
botium-core-BotDriver SIMPLEREST_TIMEOUT: 10000,
botium-core-BotDriver SIMPLEREST_EXTRA_OPTIONS: {},
botium-core-BotDriver SIMPLEREST_STRICT_SSL: true,
botium-core-BotDriver SIMPLEREST_INBOUND_UPDATE_CONTEXT: true,
botium-core-BotDriver SIMPLEREST_CONTEXT_MERGE_OR_REPLACE: ‘MERGE’,
botium-core-BotDriver SCRIPTING_TXT_EOL: ‘\n’,
botium-core-BotDriver SCRIPTING_XLSX_EOL_WRITE: ‘\r\n’,
botium-core-BotDriver SCRIPTING_XLSX_HASHEADERS: true,
botium-core-BotDriver SCRIPTING_CSV_SKIP_HEADER: true,
botium-core-BotDriver SCRIPTING_CSV_QUOTE: ‘"’,
botium-core-BotDriver SCRIPTING_CSV_ESCAPE: ‘"’,
botium-core-BotDriver SCRIPTING_NORMALIZE_TEXT: true,
botium-core-BotDriver SCRIPTING_ENABLE_MEMORY: false,
botium-core-BotDriver SCRIPTING_ENABLE_MULTIPLE_ASSERT_ERRORS: false,
botium-core-BotDriver SCRIPTING_MATCHING_MODE: ‘wildcardIgnoreCase’,
botium-core-BotDriver SCRIPTING_UTTEXPANSION_MODE: ‘all’,
botium-core-BotDriver SCRIPTING_UTTEXPANSION_RANDOM_COUNT: 1,
botium-core-BotDriver SCRIPTING_UTTEXPANSION_NAMING_MODE: ‘justLineTag’,
botium-core-BotDriver SCRIPTING_UTTEXPANSION_NAMING_UTTERANCE_MAX: ‘16’,
botium-core-BotDriver SCRIPTING_MEMORYEXPANSION_KEEP_ORIG: false,
botium-core-BotDriver ASSERTERS: [],
botium-core-BotDriver LOGIC_HOOKS: [],
botium-core-BotDriver USER_INPUTS: [],
botium-core-BotDriver SECURITY_ALLOW_UNSAFE: true,
botium-core-BotDriver CONTAINERMODE: ‘lex’,
botium-core-BotDriver LEX_REGION: ‘XXXXXXXXX’,
botium-core-BotDriver LEX_ACCESS_KEY_ID: ‘XXXXXXXXX’,
botium-core-BotDriver LEX_SECRET_ACCESS_KEY: ‘XXXXXXXXX’,
botium-core-BotDriver LEX_PROJECT_NAME: ‘XXXXXXXXX’,
botium-core-BotDriver LEX_PROJECT_ALIAS: ‘XXXXXXXXX’,
botium-core-BotDriver LEX_USER: ‘XXXXXXXXX’,
botium-core-BotDriver LEX_REQUEST_ATTRIBUTES: {
botium-core-BotDriver ‘x-amz-lex:channel-id’: ‘XXXXXXXXX’,
botium-core-BotDriver ‘x-amz-lex:webhook-endpoint-url’: ‘XXXXXXXXX’,
botium-core-BotDriver ‘x-amz-lex:accept-content-types’: ‘PlainText’,
botium-core-BotDriver ‘x-amz-lex:user-id’: ‘XXXXXXXXX’,
botium-core-BotDriver ‘x-amz-lex:slack-team-id’: ‘XXXXXXXXX’,
botium-core-BotDriver ‘x-amz-lex:slack-bot-token’: ‘XXXXXXXXX’,
botium-core-BotDriver ‘x-amz-lex:channel-name’: ‘XXXXXXXXX’,
botium-core-BotDriver ‘x-amz-lex:channel-type’: ‘Slack’
botium-core-BotDriver },
botium-core-BotDriver LEX_SESSION_ATTRIBUTES: {
botium-core-BotDriver candidateId: XXXXXXXXX,
botium-core-BotDriver uname: ‘XXXXXXXXX’,
botium-core-BotDriver email: ‘XXXXXXXXX’,
botium-core-BotDriver firstName: ‘XXXXXXXXX’,
botium-core-BotDriver lastName: ‘XXXXXXXXX’,
botium-core-BotDriver isSponsor: ‘Y’
botium-core-BotDriver },
botium-core-BotDriver CONFIG: ‘./botium.json’
botium-core-BotDriver } +1ms
botium-core-BotDriver Build - Sources : { LOCALPATH: ‘.’, GITPATH: ‘git’, GITBRANCH: ‘master’, GITDIR: ‘.’ } +5ms
botium-core-BotDriver Build - Envs : { IS_BOTIUM_CONTAINER: true } +0ms
botium-connector-PluginConnectorContainer-helper Botium plugin botium-connector-lex loaded. Plugin version is 0.0.13 +0ms
botium-connector-BaseContainer _RunCustomHook onBuild finished +0ms
botium-connector-BaseContainer _RunCustomHook onStart finished +7ms
botium-cli-run running testcase Cancel Options (3 Buttons) +66ms
botium-core-Convo Cancel Options (3 Buttons)/Line 3: user says (cleaned by binary and base64 data and sourceData) {
botium-core-Convo “sender”: “me”,
botium-core-Convo “channel”: null,
botium-core-Convo “not”: false,
botium-core-Convo “optional”: false,
botium-core-Convo “messageText”: “Hello”,
botium-core-Convo “media”: null,
botium-core-Convo “buttons”: null,
botium-core-Convo “cards”: null,
botium-core-Convo “forms”: null,
botium-core-Convo “attachments”: null,
botium-core-Convo “asserters”: [],
botium-core-Convo “userInputs”: [],
botium-core-Convo “logicHooks”: []
botium-core-Convo } +0ms
botium-connector-BaseContainer _RunCustomHook onUserSays finished +4ms
botium-core-Convo Cancel Options (3 Buttons) wait for bot +2s
botium-connector-BaseContainer _RunCustomHook onBotResponse finished +2s
botium-core-Convo Cancel Options (3 Buttons): bot says (cleaned by binary and base64 data and sourceData) {
botium-core-Convo “sender”: “bot”,
botium-core-Convo “messageText”: “Hey, how can I help you today?”,
botium-core-Convo “nlp”: {
botium-core-Convo “intent”: {
botium-core-Convo “incomprehension”: true
botium-core-Convo },
botium-core-Convo “entities”: []
botium-core-Convo },
botium-core-Convo “channel”: “default”
botium-core-Convo } +3ms
botium-core-ScriptingMemory fill start: {} +0ms
botium-core-ScriptingProvider assertBotResponse Cancel Options (3 Buttons)/Line 6 (Line 3: #me - Hello) BOT: Hey, how can I help you today? = Hey, how can I help you today? … +2s
botium-core-Convo Cancel Options (3 Buttons)/Line 9: user says (cleaned by binary and base64 data and sourceData) {
botium-core-Convo “sender”: “me”,
botium-core-Convo “channel”: null,
botium-core-Convo “not”: false,
botium-core-Convo “optional”: false,
botium-core-Convo “messageText”: “cancel”,
botium-core-Convo “media”: null,
botium-core-Convo “buttons”: null,
botium-core-Convo “cards”: null,
botium-core-Convo “forms”: null,
botium-core-Convo “attachments”: null,
botium-core-Convo “asserters”: [],
botium-core-Convo “userInputs”: [],
botium-core-Convo “logicHooks”: []
botium-core-Convo } +6ms
botium-connector-BaseContainer _RunCustomHook onUserSays finished +7ms
botium-core-Convo Cancel Options (3 Buttons) wait for bot +567ms
botium-connector-BaseContainer _RunCustomHook onBotResponse finished +568ms
botium-core-Convo Cancel Options (3 Buttons): bot says (cleaned by binary and base64 data and sourceData) {
botium-core-Convo “sender”: “bot”,
botium-core-Convo “messageText”: “I’ve cancelled that action. Would you like to do something else?”,
botium-core-Convo “nlp”: {
botium-core-Convo “intent”: {
botium-core-Convo “incomprehension”: true
botium-core-Convo },
botium-core-Convo “entities”: []
botium-core-Convo },
botium-core-Convo “channel”: “default”
botium-core-Convo } +3ms
botium-core-ScriptingMemory fill start: {} +573ms
botium-core-ScriptingProvider assertBotResponse Cancel Options (3 Buttons)/Line 12 (Line 9: #me - cancel) BOT: I’ve cancelled that action. Would you like to do something else? = I’ve cancelled that action. Would you like to do something else? … +575ms
botium-core-Convo BotiumError: Cancel Options (3 Buttons)/Line 12: assertion error - Line 12: Expected some button(s)
botium-core-Convo at botiumErrorFromErr (C:\Users<user>\AppData\Roaming\npm\node_modules\botium-cli\node_modules\botium-core\src\scripting\BotiumError.js:83:12)
botium-core-Convo at Convo.runConversation (C:\Users<user>\AppData\Roaming\npm\node_modules\botium-cli\node_modules\botium-core\src\scripting\Convo.js:456:31)
botium-core-Convo at async Convo.Run (C:\Users<user>\AppData\Roaming\npm\node_modules\botium-cli\node_modules\botium-core\src\scripting\Convo.js:245:7) +4ms
botium-cli-run Cancel Options (3 Buttons) failed: TranscriptError: Cancel Options (3 Buttons)/Line 12: assertion error - Line 12: Expected some button(s)
botium-cli-run at Convo.Run (C:\Users<user>\AppData\Roaming\npm\node_modules\botium-cli\node_modules\botium-core\src\scripting\Convo.js:266:15) {
botium-cli-run transcript: Transcript {
botium-cli-run steps: [
botium-cli-run [TranscriptStep],
botium-cli-run [TranscriptStep],
botium-cli-run [TranscriptStep],
botium-cli-run [TranscriptStep]
botium-cli-run ],
botium-cli-run attachments: [],
botium-cli-run scriptingMemory: {},
botium-cli-run convoBegin: 2021-02-19T15:21:04.351Z,
botium-cli-run convoEnd: 2021-02-19T15:21:06.712Z,
botium-cli-run err: BotiumError: Cancel Options (3 Buttons)/Line 12: assertion error - Line 12: Expected some button(s)
botium-cli-run at botiumErrorFromErr (C:\Users<user>\AppData\Roaming\npm\node_modules\botium-cli\node_modules\botium-core\src\scripting\BotiumError.js:83:12)
botium-cli-run at Convo.runConversation (C:\Users<user>\AppData\Roaming\npm\node_modules\botium-cli\node_modules\botium-core\src\scripting\Convo.js:456:31)
botium-cli-run at async Convo.Run (C:\Users<user>\AppData\Roaming\npm\node_modules\botium-cli\node_modules\botium-core\src\scripting\Convo.js:245:7) {
botium-cli-run context: [Object]
botium-cli-run }
botium-cli-run },
botium-cli-run cause: BotiumError: Cancel Options (3 Buttons)/Line 12: assertion error - Line 12: Expected some button(s)
botium-cli-run at botiumErrorFromErr (C:\Users<user>\AppData\Roaming\npm\node_modules\botium-cli\node_modules\botium-core\src\scripting\BotiumError.js:83:12)
botium-cli-run at Convo.runConversation (C:\Users<user>\AppData\Roaming\npm\node_modules\botium-cli\node_modules\botium-core\src\scripting\Convo.js:456:31)
botium-cli-run at async Convo.Run (C:\Users<user>\AppData\Roaming\npm\node_modules\botium-cli\node_modules\botium-core\src\scripting\Convo.js:245:7) {
botium-cli-run context: {
botium-cli-run type: ‘asserter’,
botium-cli-run source: ‘ButtonsAsserter’,
botium-cli-run params: [Object],
botium-cli-run cause: [Object],
botium-cli-run message: ‘Cancel Options (3 Buttons)/Line 12: assertion error - Line 12: Expected some button(s)’,
botium-cli-run input: [ConvoStep],
botium-cli-run transcript: [Array]
botium-cli-run }
botium-cli-run }
botium-cli-run } +2s
1) Cancel Options (3 Buttons)
botium-connector-BaseContainer _RunCustomHook onStop finished +12ms
botium-connector-BaseContainer _RunCustomHook onClean finished +2ms
botium-connector-BaseContainer Cleanup rimrafing temp dir C:\Users<user>\Desktop\Bot\botiumwork\Bot 20210219 152104 DHuzF +1ms

0 passing (2s)
1 failing

  1. Botium Test-Suite
    Cancel Options (3 Buttons):
    Error: Cancel Options (3 Buttons)/Line 12: assertion error - Line 12: Expected some button(s)
    ########################################
    ASSERTION FAILED in ButtonsAsserter - Expected: [] - Actual: []
    INPUT: cancel

First, the LEX_REQUEST_ATTRIBUTES capability is not supported right now, but this doesn’t seem to be the problem.
I am missing some log entries - actually, the Botium Lex connector should dump Lex request/response - cannot see it here. is the DEBUG environment variable set ?

I don’t believe the DEBUG environment variable is set, how would I go about doing this?

I can reproduce it, buttons are currently not delivered from the Lex API to Botium. I will have to analyze this and get back to you.

no problem, thank you for looking in to this for me.

I appreciate it :slight_smile:

Hello @Florian

Just wondering if you got anywhere with this?

Thanks!

not yet. the issue is in our sprint and I am confident that the team will take care for it very very soon

Sounds good, thank you for the fast response! :slight_smile:

So we found and solved the problem. It will take some weeks before we will officially release the next Botium version, but for now you can install the Botium Lex Connector directly from Github to get the latest changes:

npm install https://github.com/codeforequity-at/botium-connector-lex.git#master

Amazing, thank you!

I’ve installed the latest changes and it is now working as expected for me

1 Like

Awesome. :partying_face: