Getting an error of Timeout


I am executing some tests using botium-cli. The test might be taking more time and I am getting below error.

 Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
  at listOnTimeout (internal/timers.js:557:17)
  at processTimers (internal/timers.js:500:7)

[mochawesome] Error adding context: Invalid test object.

Could you point me any direction here?

Use the –timeout 120000 flag (for setting it to two minutes)

Thanks @Florian for round the clock support.

Where exactly do I need to place this flag?

I added a capability “WAITFORBOTTIMEOUT”:“120000” but it seems of no use.

Its a command line flag … botium-cli run --timeout 120000*

Okay. Got it. Thanks.