@@ -314,29 +314,6 @@ aliases:
314
314
name : End-to-End Test Suite
315
315
command : node ./scripts/run-ci-e2e-tests.js --android --ios --tvos --js --retries 3;
316
316
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
-
340
317
- &run-objc-ios-e2e-tests
341
318
name : iOS End-to-End Test Suite
342
319
command : |
@@ -469,23 +446,22 @@ jobs:
469
446
path : ~/react-native/reports/junit
470
447
471
448
# Runs end to end tests (Detox)
472
- # Disabled.
473
449
test_detox_end_to_end :
474
450
<< : *macos_defaults
475
451
steps :
476
- - attach_workspace :
477
- at : ~/react-native
478
-
479
- - run : *boot-simulator-iphone
480
-
481
- - run : *install-node-8
482
- - run : *install-apple-simulator-utils
483
- - run : *build-ios-app-e2e
452
+ - checkout
484
453
485
- - run : *run-ios-detox-tests
454
+ - run : echo 'export PATH=/usr/local/opt/node@8/bin:$PATH' >> $BASH_ENV
455
+ - run : source $BASH_ENV
456
+ - run : brew install node@8
457
+ - run : brew link node@8
458
+ - run : node -v
486
459
487
- - store_test_results :
488
- path : ~/react-native/reports/junit
460
+ - run : brew tap wix/brew
461
+ - run : brew install applesimutils
462
+ - run : yarn
463
+ - run : yarn run build-ios-e2e
464
+ - run : yarn run test-ios-e2e
489
465
490
466
# Set up an Android environment for downstream jobs
491
467
test_android :
@@ -685,10 +661,8 @@ workflows:
685
661
# requires:
686
662
# - checkout_code
687
663
688
- # - test_detox_end_to_end:
689
- # filters: *filter-ignore-gh-pages
690
- # requires:
691
- # - checkout_code
664
+ - test_detox_end_to_end :
665
+ filters : *filter-ignore-gh-pages
692
666
693
667
694
668
# Only runs on vX.X.X tags if all tests are green
0 commit comments