[dev-client] fix e2e ci build error (#16582)# Why to make my RN 0.68 upgrade pr ci all green and found dev-client e2e ci task failed for a while. e.g. https://github.com/expo/expo/runs/54667509
[dev-client] fix e2e ci build error (#16582)# Why to make my RN 0.68 upgrade pr ci all green and found dev-client e2e ci task failed for a while. e.g. https://github.com/expo/expo/runs/5466750947?check_suite_focus=true # How import `ExpoModulesCore` before `EXDevMenu`
show more ...
[dev-client] Fix e2e tests (#14433)# Why Fixes failing e2e tests. # How - migrated project to use `expo` instead of `expo-modules-core` - fixed error in `expo-updates-interface`: ``` *
[dev-client] Fix e2e tests (#14433)# Why Fixes failing e2e tests. # How - migrated project to use `expo` instead of `expo-modules-core` - fixed error in `expo-updates-interface`: ``` * What went wrong: Execution failed for task ':expo-updates-interface:mergeLibDexDebugAndroidTest'. > Could not resolve all files for configuration ':expo-updates-interface:debugAndroidTestRuntimeClasspath'. > Failed to transform classes.jar (project :expo-modules-core) to match attributes {artifactType=android-dex, com.android.build.api.attributes.BuildTypeAttr=debug, com.android.build.api.attributes.VariantAttr=debug, dexing-enable-desugaring=false, dexing-incremental-transform=false, dexing-is-debuggable=true, dexing-min-sdk=21, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime, org.jetbrains.kotlin.platform.type=androidJvm}. > Execution failed for DexingNoClasspathTransform: /private/var/folders/bs/tw1fkxgx3k34ylc56zcshjgm0000gn/T/3e9d166b08c868189fb9e8ae52bc2c71/node_modules/expo-modules-core/android/build/intermediates/runtime_library_classes_jar/debug/classes.jar. > Error while dexing. The dependency contains Java 8 bytecode. Please enable desugaring by adding the following to build.gradle android { compileOptions { sourceCompatibility 1.8 targetCompatibility 1.8 } } See https://developer.android.com/studio/write/java8-support.html for details. Alternatively, increase the minSdkVersion to 24 or above. ``` # Test Plan - run tests ✅
[dev-client] Add detox e2e tests (#14027)# Why Adds detox e2e tests. Fixes ENG-1611. Needs: - [x] https://github.com/expo/expo/pull/14025 - [x] https://github.com/expo/expo/pull/14026 - [
[dev-client] Add detox e2e tests (#14027)# Why Adds detox e2e tests. Fixes ENG-1611. Needs: - [x] https://github.com/expo/expo/pull/14025 - [x] https://github.com/expo/expo/pull/14026 - [x] test-runner # How Uses a new tool to set up detox tests.