I have a node.js application that runs mocha tests using chimp, and it works normally when running inside my local OS. It uses Google Chrome to do the ui tests.
Currently, I am dockerizing this application... However, I am unsure about what I need in order to run the ui test in terms of browser.
I used some of the commands from https://github.com/workflow/docker-chimp/blob/master/Dockerfile in order to install a headless chrome browser.
My tests fail at the "before all" hook... But I have no idea where that is, nor why it happens.. The tests run normally in the Host OS.
> pluto_integ_test@1.0.0 test /PlutoD2D/itest
> chimp --mocha
[chimp] Running...
1) "before all" hook
0 passing (1m)
1 failing
1) "before all" hook:
Error: timeout of 60000ms exceeded. Ensure the done() callback is being called in this test
Mocha failed
npm ERR! Test failed. See above for more details.
How can I find out what the problem is?