aws-samples / amazon-lex-bot-test

Script to test an Amazon Lex bot using the Amazon Lex Runtime API.
MIT No Attribution
12 stars 14 forks source link

Feature to test when Lex response has multiple messages #3

Open angieyu opened 4 years ago

angieyu commented 4 years ago

Issue #, if available: NA

Description of changes: Added a feature for the test suite to handle the case when there are multiple responses. I.e. [{ "Hi there" }, { "Here's more information" }, { "And more" }] Changed logic by adding post conditions to an array and comparing against response by index.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.