UI chimp tests for CI in codeship


#1

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 local.

[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

any help?
thanks.


#2

Are you sure your app is running before the acceptance tests are run? While not directly Codeship related, take a look at the CircleCI config in the todos app. In it you’ll see that it calls ./tests/acceptance_run, which then calls .testing/chimp.js:

This is a helper script that takes care of starting your app and making sure it’s ready, before running your acceptance tests.