codeforequity-at / botium-core

The Selenium for Chatbots - Bots Testing Bots
https://www.botium.ai
MIT License
229 stars 64 forks source link

Dialogflow Connector doesn't work with V2 API #115

Closed pakmingwCorp closed 6 years ago

pakmingwCorp commented 6 years ago

The new Dialogflow V2 API requires the use of fulfillmentMessages instead of fulfillmentText.

https://dialogflow.com/docs/reference/v1-v2-migration-guide-fulfillment#fulfillment_messages_reference

I have confirmed this is the case with the Dialogflow engineering team, so we need to fix botium-connector-dialogflow/dist/botium-connector-dialogflow-cjs.js at line 215 onwards and botium-connector-dialogflow-es.js as well.

Regards, Pak

pakmingwCorp commented 6 years ago

Actually, this should probably be against the connector repository -- sorry for the confusion.