Closed kamrinkazi closed 6 years ago
TestMyBot seems to lack configuration. How does your testmybot.json look like ?
{ "botium": { "Capabilities": { "PROJECTNAME": "gassistant-bot", "FACEBOOK_API": true, "FACEBOOK_WEBHOOK_PORT": 3000, "FACEBOOK_WEBHOOK_PATH": "webhook", "CLEANUPTEMPDIR": false, "STARTCMD": "node index.js" }, "Envs": { "NODE_TLS_REJECT_UNAUTHORIZED": 0, "NODE_ENV": "dev" } } }
I have tried with both 5000,3000 port
Please enable logging ("export DEBUG=botium,testmybot") and attach the log output
Any news?
`kamrink@kamrink-ub:~/Desktop/Projects/orange_gassistant_bot$ npm test
Started (node:21088) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: No Mock online got Message: undefined FF
Failures: 1) TestMyBot Sample Conversation Test Suite should answer to hello Message: Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. Stack: Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. at ontimeout (timers.js:365:14) at tryOnTimeout (timers.js:237:5) at Timer.listOnTimeout (timers.js:207:5) Message: Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. `