Skip to content

Commit

Permalink
Re-enable Detox e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
hramos committed Aug 21, 2018
1 parent 139559f commit 1fc1208
Showing 1 changed file with 9 additions and 40 deletions.
49 changes: 9 additions & 40 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -314,29 +314,6 @@ aliases:
name: End-to-End Test Suite
command: node ./scripts/run-ci-e2e-tests.js --android --ios --tvos --js --retries 3;

- &install-node-8
name: Install Node 8
command: |
echo 'export PATH=/usr/local/opt/node@8/bin:$PATH' >> $BASH_ENV
source $BASH_ENV
brew install node@8
brew link node@8
node -v
- &install-apple-simulator-utils
name: Install Apple Simulator Utilities
command: |
brew tap wix/brew
brew install applesimutils
- &build-ios-app-e2e
name: Build iOS App for Simulator
command: yarn run build-ios-e2e

- &run-ios-detox-tests
name: Run Detox Tests
command: yarn run test-ios-e2e

- &run-objc-ios-e2e-tests
name: iOS End-to-End Test Suite
command: |
Expand Down Expand Up @@ -467,23 +444,17 @@ jobs:
path: ~/react-native/reports/junit

# Runs end to end tests (Detox)
# Disabled.
test_detox_end_to_end:
<<: *macos_defaults
steps:
- attach_workspace:
at: ~/react-native

- run: *boot-simulator-iphone

- run: *install-node-8
- run: *install-apple-simulator-utils
- run: *build-ios-app-e2e

- run: *run-ios-detox-tests
- checkout

- store_test_results:
path: ~/react-native/reports/junit
- run: brew tap wix/brew
- run: brew install applesimutils
- restore-cache: *restore-yarn-cache
- run: yarn
- run: yarn run build-ios-e2e
- run: yarn run test-ios-e2e

# Set up an Android environment for downstream jobs
test_android:
Expand Down Expand Up @@ -683,10 +654,8 @@ workflows:
# requires:
# - checkout_code

# - test_detox_end_to_end:
# filters: *filter-ignore-gh-pages
# requires:
# - checkout_code
- test_detox_end_to_end:
filters: *filter-ignore-gh-pages


# Only runs on vX.X.X tags if all tests are green
Expand Down

0 comments on commit 1fc1208

Please sign in to comment.