@@ -314,29 +314,6 @@ aliases:
314314 name : End-to-End Test Suite
315315 command : node ./scripts/run-ci-e2e-tests.js --android --ios --tvos --js --retries 3;
316316
317- - &install-node-8
318- name : Install Node 8
319- command : |
320- echo 'export PATH=/usr/local/opt/node@8/bin:$PATH' >> $BASH_ENV
321- source $BASH_ENV
322- brew install node@8
323- brew link node@8
324- node -v
325-
326- - &install-apple-simulator-utils
327- name : Install Apple Simulator Utilities
328- command : |
329- brew tap wix/brew
330- brew install applesimutils
331-
332- - &build-ios-app-e2e
333- name : Build iOS App for Simulator
334- command : yarn run build-ios-e2e
335-
336- - &run-ios-detox-tests
337- name : Run Detox Tests
338- command : yarn run test-ios-e2e
339-
340317 - &run-objc-ios-e2e-tests
341318 name : iOS End-to-End Test Suite
342319 command : |
@@ -467,23 +444,17 @@ jobs:
467444 path : ~/react-native/reports/junit
468445
469446 # Runs end to end tests (Detox)
470- # Disabled.
471447 test_detox_end_to_end :
472448 << : *macos_defaults
473449 steps :
474- - attach_workspace :
475- at : ~/react-native
476-
477- - run : *boot-simulator-iphone
478-
479- - run : *install-node-8
480- - run : *install-apple-simulator-utils
481- - run : *build-ios-app-e2e
482-
483- - run : *run-ios-detox-tests
450+ - checkout
484451
485- - store_test_results :
486- path : ~/react-native/reports/junit
452+ - run : brew tap wix/brew
453+ - run : brew install applesimutils
454+ - restore-cache : *restore-yarn-cache
455+ - run : yarn
456+ - run : yarn run build-ios-e2e
457+ - run : yarn run test-ios-e2e
487458
488459 # Set up an Android environment for downstream jobs
489460 test_android :
@@ -683,10 +654,8 @@ workflows:
683654 # requires:
684655 # - checkout_code
685656
686- # - test_detox_end_to_end:
687- # filters: *filter-ignore-gh-pages
688- # requires:
689- # - checkout_code
657+ - test_detox_end_to_end :
658+ filters : *filter-ignore-gh-pages
690659
691660
692661 # Only runs on vX.X.X tags if all tests are green
0 commit comments