Is there a suggested approach to testing prompts to fill a slot when the conversation is delegated to Alexa? Looking at the logs, it’s doesn’t appear that the response if provided in the data for a Jest script to validate.
Great question. I usually don’t work with the Alexa Dialog Interface, so I haven’t tested it.
One idea that comes to mind is saving the requests (here’s a sample one) as a JSON file and the requiring it as raw request in the unit test.
These requests only seem to flow in when the slot filling returns a result, I’m not sure if it’s possible to test “unsuccessful” interactions in between.