actions-on-google-testing-nodejs icon indicating copy to clipboard operation
actions-on-google-testing-nodejs copied to clipboard

Failed Test Cases after enabling fulfillment

Open Piush-hexaware opened this issue 5 years ago • 2 comments

I have started using action-on-google-testing package for our enterprise bot. During testing, I found some issue regarding failed scenarios -: 1.sometime intent doesn't match with my utterance. 2. When I enable fulfillment for webhook, I not getting any response but when I disable the fulfillment and added static response that time it was working fine.

error: 2 exceptions

Uncaught Exception TypeError: Cannot read property 'url' of undefined ClientDuplexStream.conversation.on (node_modules/actions-on-google-testing/src/actions-on-google.ts:559:62) Object.onReceiveMessage (node_modules/grpc/src/client_interceptors.js:1292:19) InterceptingListener.recvMessageWithContext (node_modules/grpc/src/client_interceptors.js:607:19)

Piush-hexaware avatar Jun 19 '19 04:06 Piush-hexaware

Do these things work if you were to test using the simulator, or a physical device?

Fleker avatar Jun 19 '19 14:06 Fleker

Yes Fleker ! We tested so many times manually from physical devices as well as simulator.It was giving the correct response.

Piush-hexaware avatar Jun 19 '19 14:06 Piush-hexaware