we are building react-native app (iOS only) and for e2e testing we use Detox framework (https://github.com/wix/detox). When I run these tests locally everything works fine but I’m unable to make them run in CircleCI (2.0).
Here is what our config.yml file looks like (in .circleci folder):
And these are the relevant package.json parts
When I run these tests on CircleCI everything works up to the test phase. There it behaves erroneously. First it finds the booted device but it seems like detox skips some of the steps it does when run locally and tries to run some test steps but these seems to be chosen randomly and are not even part of the same test function.
Did anyone encounter similar problems? Any help is much appreciated, thank you.