How to test reprompt with jovo?

amazon-alexa

#1

hi
I wish to test reprompt, with jovo interface.

regards


#2

Hi

const response = await conversation.send(intentRequest);
expect(response.getRepromptPlain()).toEqual('reprompt text');

or

const response = await conversation.send(intentRequest);
expect(response.isAsk('prompttext', 'reprompttext')).toBeTruthy();

#3

hi,
how about this test on debugger ?


i would test, if it work


#4

Not quite sure I got it. You want to see the reprompt text in the debugger?


#5

yes. how to check if it work ?


#6

It’s not visible in the chat widget, but you can see it in the json viewer.