Skip to content

Detox test on iOS #29

@roni-castro

Description

@roni-castro

Question

All the steps to build and test my iOS app on CircleCi have succeeded, except for the
"Detox Test "one.
Do I need to add any configuration to run this last step (Install Detox lib)?
Is it possible to just build the iOS and not run the Detox commands (Configure Detox Environment and Detox tests) as I use Jest+ Enzyme to do it?

CircleCi result print

#!/bin/bash --login -eo pipefail
detox test -c ios.sim.release -l warn --headless
/bin/bash: detox: command not found

Exited with code exit status 127

Version:
react-native-community/[email protected]
react-native: 0.59.9

.config.yml

      - rn/ios_build_and_test:
          # <<: *master_only
          project_path: ios/OlistApp.xcodeproj
          device: iPhone X
          build_configuration: Debug
          scheme: OlistApp
          detox_configuration: ios.sim.release
          requires:
            - analyse_js

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions