actions-on-google / actions-on-google-testing-nodejs

Apache License 2.0
75 stars 18 forks source link

Failed Test Cases after enabling fulfillment #34

Open Piush-hexaware opened 5 years ago

Piush-hexaware commented 5 years ago

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.

  1. 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)

Fleker commented 5 years ago

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

Piush-hexaware commented 5 years ago

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