@@ -6,7 +6,6 @@ version: 2.1
66
77orbs :
889-   android : 
circleci/[email protected]   109
1110#  -------------------------
1211#         REFERENCES
@@ -725,136 +724,6 @@ jobs:
725724          path : ./reports/junit 
726725
727726  #  -------------------------
728-   #      JOBS: iOS E2E Tests
729-   #  -------------------------
730-   test_e2e_ios :
731-     executor : reactnativeios 
732-     parameters :
733-       ruby_version :
734-         default : " 2.7.7" 
735-         description : The version of ruby that must be used 
736-         type : string 
737-     steps :
738-       - checkout_code_with_cache 
739-       - run_yarn 
740-       - attach_workspace :
741-           at : . 
742-       - run :
743-           name : Install appium 
744-           command : 
npm install [email protected]  -g  745-       - run :
746-           name : Install appium drivers 
747-           command : | 
748-             appium driver install uiautomator2 
749-             appium driver install xcuitest 
750- run :
751-           name : Start Appium server 
752-           command : appium --base-path /wd/hub 
753-           background : true 
754-       - run :
755-           name : Start Metro 
756-           command : | 
757-             cd packages/rn-tester 
758-             yarn start 
759- background : true 
760-       - brew_install :
761-           package : cmake 
762-       - setup_ruby :
763-           ruby_version : << parameters.ruby_version >> 
764-       - run :
765-           name : Install Bundler 
766-           command : | 
767-             cd packages/rn-tester 
768-             bundle check || bundle install 
769-             bundle exec pod setup 
770-             bundle exec pod install --verbose 
771- run :
772-           name : Boot iOS Simulator 
773-           command : source scripts/.tests.env && xcrun simctl boot "$IOS_DEVICE" || true 
774-       - run :
775-           name : Build app 
776-           command : | 
777-               xcodebuild build \ 
778-                 -workspace packages/rn-tester/RNTesterPods.xcworkspace \ 
779-                 -configuration Debug \ 
780-                 -scheme RNTester \ 
781-                 -sdk iphonesimulator \ 
782-                 -derivedDataPath /tmp/e2e/ 
783- run :
784-           name : Move app to correct directory 
785-           command : mv /tmp/e2e/Build/Products/Debug-iphonesimulator/RNTester.app packages/rn-tester-e2e/apps/rn-tester.app 
786-       - run :
787-           name : Check Appium server status 
788-           command : | 
789-             if ! nc -z 127.0.0.1 4723; then 
790-               echo Could not find Appium server! 
791-               exit 1 
792-             fi 
793- run :
794-           name : Run E2E tests 
795-           command : | 
796-             cd packages/rn-tester-e2e 
797-             yarn test-ios-e2e 
798- 
799- #  -------------------------
800-   #      JOBS: Android E2E Tests
801-   #  -------------------------
802-   test_e2e_android :
803-     executor :
804-         name : android/android-machine 
805-         tag : 2023.07.1 
806-     steps :
807-       - checkout_code_with_cache 
808-       - run_yarn 
809-       - android/create-avd :
810-           avd-name : e2e_emulator 
811-           system-image : system-images;android-33;google_apis;x86_64 
812-           install : true 
813-       - android/start-emulator :
814-           avd-name : e2e_emulator 
815-           no-window : true 
816-           restore-gradle-cache-prefix : v1a 
817-           post-emulator-launch-assemble-command : " " 
818-       - run :
819-           name : Install appium 
820-           command : 
npm install [email protected]  -g  821-       - run :
822-           name : Install appium drivers 
823-           command : | 
824-             appium driver install uiautomator2 
825-             appium driver install xcuitest 
826- run :
827-           name : Start Appium server 
828-           command : appium --base-path /wd/hub 
829-           background : true 
830-       - run :
831-           name : Start Metro 
832-           command : | 
833-             cd packages/rn-tester 
834-             yarn start 
835- background : true 
836-       - attach_workspace :
837-           at : . 
838-       - run :
839-           name : Build app 
840-           command : | 
841-             ./gradlew :packages:rn-tester:android:app:assembleHermesDebug -PreactNativeArchitectures=x86_64 
842- run :
843-           name : Move app to correct directory 
844-           command : mv packages/rn-tester/android/app/build/outputs/apk/hermes/debug/app-hermes-x86_64-debug.apk packages/rn-tester-e2e/apps/rn-tester.apk 
845-       - run :
846-           name : Check Appium server status 
847-           command : | 
848-             if ! nc -z 127.0.0.1 4723; then 
849-               echo Could not find Appium server 
850-               exit 1 
851-             fi 
852- run :
853-           name : Run E2E tests 
854-           command : | 
855-             cd packages/rn-tester-e2e 
856-             yarn test-android-e2e 
857- #  -------------------------
858727  #     JOBS: Test Android
859728  #  -------------------------
860729  test_android :
@@ -1777,9 +1646,6 @@ workflows:
17771646          run_disabled_tests : false 
17781647      - test_android 
17791648      - test_android_docker_image 
1780-       - test_e2e_ios :
1781-           ruby_version : " 2.7.7" 
1782-       - test_e2e_android 
17831649      - test_android_template :
17841650          requires :
17851651            - build_npm_package 
0 commit comments