Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Firebase Test Lab for our Android integration tests #737

Merged
merged 14 commits into from
Aug 18, 2023

Conversation

nilsreichardt
Copy link
Member

@nilsreichardt nilsreichardt commented Aug 10, 2023

Overview

In an effort to stabilize our Continuous Integration (CI) process, this pull request replaces the use of the Android Emulator in GitHub Actions with Firebase Test Lab. Firebase Test Lab runs tests on a wide range of physical devices and provides more reliable results compared to the emulator. For this implementation, we have decided to use the development Firebase project (sharezone-debug) instead of the production project to avoid potential leaks of production service account credentials and to mitigate security risks.

Example of a Successful Test Run

You can view a successful test run in the Firebase Test Lab console at the following link:
Successful Test Run

Advantages of Using Firebase Test Lab

  • Linux Runner Support: Unlike the Android Emulator which requires a macOS runner, we use a Linux runner to build the android test files for Firebase Test Lab.
  • Testing on Real Devices: Firebase Test Lab allows tests to run on actual physical devices, offering a more realistic testing environment compared to emulators.
  • Screen Recording: Firebase Test Lab provides screen recording for each test run, making it easier to investigate test failures.
  • Faster CI: Using Firebase Test Lab can speed up the CI process by approximately 10 - 15 minutes compared to running tests on a macOS runner.

Limitations

  • Usage Limits: Firebase Test Lab offers 60 minutes of free usage per month, after which it costs $1/hour. Each test run takes about 1.5 minutes.
  • Flavor Limitation: Currently, we are using the prod flavor for testing due to difficulties encountered when setting up Android Device testing for the dev flavor, which resulted in a "No test found." error.

Demo

You can view a video demonstration of a test run on Firebase Test Lab here:

2023-08-17_18_27_09.547147_SZMW_Pixel2-30-en-portrait_video.mp4

@github-actions
Copy link

github-actions bot commented Aug 10, 2023

Visit the preview URL for this PR (updated for commit d3473f1):

https://sharezone-test--pr737-use-firebase-test-la-4pw5vxsf.web.app

(expires Thu, 24 Aug 2023 21:45:40 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 4cb3ae61e1e018abfd9841fd3239f5b49ccc034b

@nilsreichardt
Copy link
Member Author

nilsreichardt commented Aug 10, 2023

Currently, I'm unable to run the tests locally with out app. I was able to rum them locally with a new sample app but not with Sharezone.

Used

./gradlew app:connectedAndroidTest -Ptarget=`pwd`/../integration_test/app_test.dart -Pdart-define="..."
Logs
> Configure project :app
WARNING: The option setting 'android.enableR8=true' is deprecated.
It will be removed in version 5.0 of the Android Gradle plugin.
You will no longer be able to disable R8

> Task :add_2_calendar:compileDebugKotlin
'compileDebugJavaWithJavac' task (current target is 1.7) and 'compileDebugKotlin' task (current target is 1.8) jvm target compatibility should be set to the same Java version.

> Task :add_2_calendar:compileDebugJavaWithJavac
warning: [options] source value 7 is obsolete and will be removed in a future release
warning: [options] target value 7 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
3 warnings

> Task :open_file_plus:processDebugManifest
/Users/nils/.pub-cache/hosted/pub.dev/open_file_plus-3.4.1/android/src/main/AndroidManifest.xml:9:5-16:16 Warning:
        provider#com.joutvhu.openfile.FileProvider@android:authorities was tagged at AndroidManifest.xml:9 to replace other declarations but no other declaration present

> Task :app:processDevDebugMainManifest
[com.google.android.play:integrity:1.0.1] /Users/nils/.gradle/caches/transforms-3/12499915e810563f88c598e4d55bf2fa/transformed/jetified-integrity-1.0.1/AndroidManifest.xml Warning:
        Package name 'com.google.android.play.core.client' used in: com.google.android.play:integrity:1.0.1, com.google.android.play:core:1.8.2.
[androidx.test.espresso:espresso-core:3.2.0] /Users/nils/.gradle/caches/transforms-3/4fe89cb0cd05f564e7f5972110dff557/transformed/espresso-core-3.2.0/AndroidManifest.xml Warning:
        Package name 'androidx.test.espresso' used in: androidx.test.espresso:espresso-core:3.2.0, androidx.test.espresso:espresso-idling-resource:3.2.0.
/Users/nils/Projects/sharezone/sharezone-app/app/android/app/src/main/AndroidManifest.xml:62:9-64:20 Warning:
        provider#androidx.core.content.FileProvider@android:authorities was tagged at AndroidManifest.xml:62 to replace other declarations but no other declaration present
/Users/nils/Projects/sharezone/sharezone-app/app/android/app/src/main/AndroidManifest.xml:63:13-144 Warning:
        meta-data#android.support.FILE_PROVIDER_PATHS@android:resource was tagged at AndroidManifest.xml:63 to replace other declarations but no other declaration present
/Users/nils/Projects/sharezone/sharezone-app/app/android/app/src/main/AndroidManifest.xml:13:9-22:20 Warning:
        provider#com.joutvhu.openfile.FileProvider@android:authorities was tagged at AndroidManifest.xml:13 to replace other declarations but no other declaration present

> Task :package_info:compileDebugJavaWithJavac
warning: [options] source value 7 is obsolete and will be removed in a future release
warning: [options] target value 7 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
Note: /Users/nils/.pub-cache/hosted/pub.dev/package_info-2.0.2/android/src/main/java/io/flutter/plugins/packageinfo/PackageInfoPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
3 warnings

> Task :app_review:compileDebugJavaWithJavac
warning: [options] source value 7 is obsolete and will be removed in a future release
warning: [options] target value 7 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
Note: /Users/nils/.pub-cache/hosted/pub.dev/app_review-2.1.1+1/android/src/main/java/com/appleeducate/appreview/AppReviewPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
3 warnings

> Task :fast_rsa:compileDebugJavaWithJavac
warning: [options] source value 7 is obsolete and will be removed in a future release
warning: [options] target value 7 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
3 warnings

> Task :cloud_firestore:compileDebugJavaWithJavac
Note: /Users/nils/.pub-cache/hosted/pub.dev/cloud_firestore-4.5.0/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestoreMessageCodec.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :flutter_plugin_android_lifecycle:compileDebugJavaWithJavac
warning: [options] source value 7 is obsolete and will be removed in a future release
warning: [options] target value 7 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
3 warnings

> Task :device_info_plus:compileDebugKotlin
'compileDebugJavaWithJavac' task (current target is 1.7) and 'compileDebugKotlin' task (current target is 1.8) jvm target compatibility should be set to the same Java version.
w: /Users/nils/.pub-cache/hosted/pub.dev/device_info_plus-8.1.0/android/src/main/kotlin/dev/fluttercommunity/plus/device_info/MethodCallHandlerImpl.kt: (67, 50): 'getter for defaultDisplay: Display!' is deprecated. Deprecated in Java
w: /Users/nils/.pub-cache/hosted/pub.dev/device_info_plus-8.1.0/android/src/main/kotlin/dev/fluttercommunity/plus/device_info/MethodCallHandlerImpl.kt: (70, 25): 'getRealMetrics(DisplayMetrics!): Unit' is deprecated. Deprecated in Java
w: /Users/nils/.pub-cache/hosted/pub.dev/device_info_plus-8.1.0/android/src/main/kotlin/dev/fluttercommunity/plus/device_info/MethodCallHandlerImpl.kt: (72, 25): 'getMetrics(DisplayMetrics!): Unit' is deprecated. Deprecated in Java
w: /Users/nils/.pub-cache/hosted/pub.dev/device_info_plus-8.1.0/android/src/main/kotlin/dev/fluttercommunity/plus/device_info/MethodCallHandlerImpl.kt: (89, 47): 'SERIAL: String!' is deprecated. Deprecated in Java

> Task :device_info_plus:compileDebugJavaWithJavac
warning: [options] source value 7 is obsolete and will be removed in a future release
warning: [options] target value 7 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
3 warnings

> Task :barcode_scan2:compileDebugKotlin
'compileDebugJavaWithJavac' task (current target is 1.7) and 'compileDebugKotlin' task (current target is 1.8) jvm target compatibility should be set to the same Java version.
w: /Users/nils/.pub-cache/hosted/pub.dev/barcode_scan2-4.2.3/android/src/main/kotlin/de/mintware/barcode_scan/BarcodeScanPlugin.kt: (8, 48): 'Registrar' is deprecated. Deprecated in Java
w: /Users/nils/.pub-cache/hosted/pub.dev/barcode_scan2-4.2.3/android/src/main/kotlin/de/mintware/barcode_scan/BarcodeScanPlugin.kt: (37, 37): 'Registrar' is deprecated. Deprecated in Java
w: /Users/nils/.pub-cache/hosted/pub.dev/barcode_scan2-4.2.3/android/src/main/kotlin/de/mintware/barcode_scan/BarcodeScannerActivity.kt: (54, 59): 'getter for defaultDisplay: Display!' is deprecated. Deprecated in Java
w: /Users/nils/.pub-cache/hosted/pub.dev/barcode_scan2-4.2.3/android/src/main/kotlin/de/mintware/barcode_scan/ChannelHandler.kt: (3, 25): 'Camera' is deprecated. Deprecated in Java
w: /Users/nils/.pub-cache/hosted/pub.dev/barcode_scan2-4.2.3/android/src/main/kotlin/de/mintware/barcode_scan/ChannelHandler.kt: (50, 24): 'Camera' is deprecated. Deprecated in Java
w: /Users/nils/.pub-cache/hosted/pub.dev/barcode_scan2-4.2.3/android/src/main/kotlin/de/mintware/barcode_scan/ChannelHandler.kt: (50, 31): 'getNumberOfCameras(): Int' is deprecated. Deprecated in Java
w: /Users/nils/.pub-cache/hosted/pub.dev/barcode_scan2-4.2.3/android/src/main/kotlin/de/mintware/barcode_scan/RequestCameraPermissionHandler.kt: (34, 13): Condition 'grantResults == null' is always 'false'
w: /Users/nils/.pub-cache/hosted/pub.dev/barcode_scan2-4.2.3/android/src/main/kotlin/de/mintware/barcode_scan/ZXingAutofocusScannerView.kt: (4, 25): 'Camera' is deprecated. Deprecated in Java
w: /Users/nils/.pub-cache/hosted/pub.dev/barcode_scan2-4.2.3/android/src/main/kotlin/de/mintware/barcode_scan/ZXingAutofocusScannerView.kt: (15, 33): 'getter for parameters: Camera.Parameters!' is deprecated. Deprecated in Java
w: /Users/nils/.pub-cache/hosted/pub.dev/barcode_scan2-4.2.3/android/src/main/kotlin/de/mintware/barcode_scan/ZXingAutofocusScannerView.kt: (17, 48): 'getter for supportedFocusModes: (Mutable)List<String!>!' is deprecated. Deprecated in Java
w: /Users/nils/.pub-cache/hosted/pub.dev/barcode_scan2-4.2.3/android/src/main/kotlin/de/mintware/barcode_scan/ZXingAutofocusScannerView.kt: (17, 77): 'Camera' is deprecated. Deprecated in Java
w: /Users/nils/.pub-cache/hosted/pub.dev/barcode_scan2-4.2.3/android/src/main/kotlin/de/mintware/barcode_scan/ZXingAutofocusScannerView.kt: (17, 84): 'Parameters' is deprecated. Deprecated in Java
w: /Users/nils/.pub-cache/hosted/pub.dev/barcode_scan2-4.2.3/android/src/main/kotlin/de/mintware/barcode_scan/ZXingAutofocusScannerView.kt: (17, 95): 'FOCUS_MODE_AUTO: String' is deprecated. Deprecated in Java
w: /Users/nils/.pub-cache/hosted/pub.dev/barcode_scan2-4.2.3/android/src/main/kotlin/de/mintware/barcode_scan/ZXingAutofocusScannerView.kt: (18, 28): 'setter for focusMode: String!' is deprecated. Deprecated in Java
w: /Users/nils/.pub-cache/hosted/pub.dev/barcode_scan2-4.2.3/android/src/main/kotlin/de/mintware/barcode_scan/ZXingAutofocusScannerView.kt: (18, 40): 'Camera' is deprecated. Deprecated in Java
w: /Users/nils/.pub-cache/hosted/pub.dev/barcode_scan2-4.2.3/android/src/main/kotlin/de/mintware/barcode_scan/ZXingAutofocusScannerView.kt: (18, 47): 'Parameters' is deprecated. Deprecated in Java
w: /Users/nils/.pub-cache/hosted/pub.dev/barcode_scan2-4.2.3/android/src/main/kotlin/de/mintware/barcode_scan/ZXingAutofocusScannerView.kt: (18, 58): 'FOCUS_MODE_CONTINUOUS_PICTURE: String' is deprecated. Deprecated in Java
w: /Users/nils/.pub-cache/hosted/pub.dev/barcode_scan2-4.2.3/android/src/main/kotlin/de/mintware/barcode_scan/ZXingAutofocusScannerView.kt: (19, 39): 'setter for parameters: Camera.Parameters!' is deprecated. Deprecated in Java
aapt2 W 08-10 14:40:01 16046 1730502 LoadedArsc.cpp:657] Unknown chunk type '200'.


> Task :barcode_scan2:compileDebugJavaWithJavac
warning: [options] source value 7 is obsolete and will be removed in a future release
warning: [options] target value 7 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
3 warnings

> Task :file_picker:compileDebugJavaWithJavac
warning: [options] source value 7 is obsolete and will be removed in a future release
warning: [options] target value 7 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
3 warnings

> Task :firebase_dynamic_links:compileDebugJavaWithJavac
Note: /Users/nils/.pub-cache/hosted/pub.dev/firebase_dynamic_links-5.1.0/android/src/main/java/io/flutter/plugins/firebase/dynamiclinks/Utils.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :firebase_messaging:compileDebugJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/nils/.pub-cache/hosted/pub.dev/firebase_messaging-14.4.0/android/src/main/java/io/flutter/plugins/firebase/messaging/FlutterFirebaseMessagingPlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :firebase_auth_oauth:compileDebugKotlin
'compileDebugJavaWithJavac' task (current target is 1.7) and 'compileDebugKotlin' task (current target is 1.8) jvm target compatibility should be set to the same Java version.
w: /Users/nils/.pub-cache/hosted/pub.dev/firebase_auth_oauth-1.2.2/android/src/main/kotlin/me/amryousef/apple/auth/firebase_auth_oauth/FirebaseAuthOAuthPlugin.kt: (19, 48): 'Registrar' is deprecated. Deprecated in Java

> Task :firebase_auth_oauth:compileDebugJavaWithJavac
warning: [options] source value 7 is obsolete and will be removed in a future release
warning: [options] target value 7 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
3 warnings

> Task :google_sign_in_android:compileDebugJavaWithJavac
warning: [options] source value 7 is obsolete and will be removed in a future release
warning: [options] target value 7 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
3 warnings

> Task :flutter_native_timezone:compileDebugKotlin
'compileDebugJavaWithJavac' task (current target is 1.7) and 'compileDebugKotlin' task (current target is 1.8) jvm target compatibility should be set to the same Java version.
w: /Users/nils/.pub-cache/hosted/pub.dev/flutter_native_timezone-2.0.0/android/src/main/kotlin/com/whelksoft/flutter_native_timezone/FlutterNativeTimezonePlugin.kt: (12, 48): 'Registrar' is deprecated. Deprecated in Java
w: /Users/nils/.pub-cache/hosted/pub.dev/flutter_native_timezone-2.0.0/android/src/main/kotlin/com/whelksoft/flutter_native_timezone/FlutterNativeTimezonePlugin.kt: (23, 37): 'Registrar' is deprecated. Deprecated in Java

> Task :image_picker_android:compileDebugJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :flutter_native_timezone:compileDebugJavaWithJavac
warning: [options] source value 7 is obsolete and will be removed in a future release
warning: [options] target value 7 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
3 warnings

> Task :flutter_image_compress:compileDebugKotlin
'compileDebugJavaWithJavac' task (current target is 1.7) and 'compileDebugKotlin' task (current target is 1.8) jvm target compatibility should be set to the same Java version.
w: /Users/nils/.pub-cache/hosted/pub.dev/flutter_image_compress-1.1.3/android/src/main/kotlin/com/fluttercandies/flutter_image_compress/ext/BitmapCompressExt.kt: (72, 36): 'WEBP' is deprecated. Deprecated in Java
w: /Users/nils/.pub-cache/hosted/pub.dev/flutter_image_compress-1.1.3/android/src/main/kotlin/com/fluttercandies/flutter_image_compress/handle/common/CommonHandler.kt: (24, 36): 'WEBP' is deprecated. Deprecated in Java

> Task :package_info_plus:compileDebugKotlin
'compileDebugJavaWithJavac' task (current target is 1.7) and 'compileDebugKotlin' task (current target is 1.8) jvm target compatibility should be set to the same Java version.
w: /Users/nils/.pub-cache/hosted/pub.dev/package_info_plus-3.0.3/android/src/main/kotlin/dev/fluttercommunity/plus/packageinfo/PackageInfoPlugin.kt: (37, 43): 'getPackageInfo(String, Int): PackageInfo!' is deprecated. Deprecated in Java
w: /Users/nils/.pub-cache/hosted/pub.dev/package_info_plus-3.0.3/android/src/main/kotlin/dev/fluttercommunity/plus/packageinfo/PackageInfoPlugin.kt: (41, 55): 'getInstallerPackageName(String): String?' is deprecated. Deprecated in Java

> Task :purchases_flutter:compileDebugJavaWithJavac
Note: /Users/nils/.pub-cache/hosted/pub.dev/purchases_flutter-4.11.1/android/src/main/java/com/revenuecat/purchases_flutter/PurchasesFlutterPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :flutter_image_compress:compileDebugJavaWithJavac
warning: [options] source value 7 is obsolete and will be removed in a future release
warning: [options] target value 7 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
3 warnings

> Task :package_info_plus:compileDebugJavaWithJavac
warning: [options] source value 7 is obsolete and will be removed in a future release
warning: [options] target value 7 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
3 warnings

> Task :share:compileDebugJavaWithJavac
warning: [options] source value 7 is obsolete and will be removed in a future release
warning: [options] target value 7 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
Note: /Users/nils/.pub-cache/hosted/pub.dev/share-2.0.4/android/src/main/java/io/flutter/plugins/share/Share.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
3 warnings

> Task :shared_preferences_android:compileDebugJavaWithJavac
warning: [options] source value 7 is obsolete and will be removed in a future release
warning: [options] target value 7 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
3 warnings

> Task :sqflite:compileDebugJavaWithJavac
/Users/nils/.pub-cache/hosted/pub.dev/sqflite-2.2.4+1/android/src/main/java/com/tekartik/sqflite/Database.java:94: warning: [deprecation] getApplicationInfo(String,int) in PackageManager has been deprecated
            final ApplicationInfo applicationInfo = context.getPackageManager().getApplicationInfo(packageName, PackageManager.GET_META_DATA);
                                                                               ^
1 warning

> Task :url_launcher_android:compileDebugJavaWithJavac
warning: [options] source value 7 is obsolete and will be removed in a future release
warning: [options] target value 7 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
3 warnings

> Task :sign_in_with_apple:compileDebugKotlin
'compileDebugJavaWithJavac' task (current target is 1.7) and 'compileDebugKotlin' task (current target is 1.8) jvm target compatibility should be set to the same Java version.
w: /Users/nils/.pub-cache/hosted/pub.dev/sign_in_with_apple-4.3.0/android/src/main/kotlin/com/aboutyou/dart_packages/sign_in_with_apple/SignInWithApplePlugin.kt: (17, 48): 'Registrar' is deprecated. Deprecated in Java
w: /Users/nils/.pub-cache/hosted/pub.dev/sign_in_with_apple-4.3.0/android/src/main/kotlin/com/aboutyou/dart_packages/sign_in_with_apple/SignInWithApplePlugin.kt: (54, 33): 'Registrar' is deprecated. Deprecated in Java

> Task :pdfx:compileDebugKotlin
w: /Users/nils/.pub-cache/git/packages.flutter-32b55b8943b7fb166cf70fa21dc83ae60b79c212/packages/pdfx/android/src/main/kotlin/io/scer/pdfx/utils/CompressFormats.kt: (9, 36): 'WEBP' is deprecated. Deprecated in Java

> Task :sign_in_with_apple:compileDebugJavaWithJavac
warning: [options] source value 7 is obsolete and will be removed in a future release
warning: [options] target value 7 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
3 warnings

> Task :fast_rsa:stripDebugDebugSymbols
Unable to strip the following libraries, packaging them as they are: librsa_bridge.so.
aapt2 W 08-10 14:40:05 16046 1730502 LoadedArsc.cpp:657] Unknown chunk type '200'.


> Task :app:stripDevDebugDebugSymbols
Unable to strip the following libraries, packaging them as they are: libflutter.so, librsa_bridge.so.

> Task :app:processProdDebugMainManifest
[com.google.android.play:integrity:1.0.1] /Users/nils/.gradle/caches/transforms-3/12499915e810563f88c598e4d55bf2fa/transformed/jetified-integrity-1.0.1/AndroidManifest.xml Warning:
        Package name 'com.google.android.play.core.client' used in: com.google.android.play:integrity:1.0.1, com.google.android.play:core:1.8.2.
[androidx.test.espresso:espresso-core:3.2.0] /Users/nils/.gradle/caches/transforms-3/4fe89cb0cd05f564e7f5972110dff557/transformed/espresso-core-3.2.0/AndroidManifest.xml Warning:
        Package name 'androidx.test.espresso' used in: androidx.test.espresso:espresso-core:3.2.0, androidx.test.espresso:espresso-idling-resource:3.2.0.
/Users/nils/Projects/sharezone/sharezone-app/app/android/app/src/main/AndroidManifest.xml:62:9-64:20 Warning:
        provider#androidx.core.content.FileProvider@android:authorities was tagged at AndroidManifest.xml:62 to replace other declarations but no other declaration present
/Users/nils/Projects/sharezone/sharezone-app/app/android/app/src/main/AndroidManifest.xml:63:13-144 Warning:
        meta-data#android.support.FILE_PROVIDER_PATHS@android:resource was tagged at AndroidManifest.xml:63 to replace other declarations but no other declaration present
/Users/nils/Projects/sharezone/sharezone-app/app/android/app/src/main/AndroidManifest.xml:13:9-22:20 Warning:
        provider#com.joutvhu.openfile.FileProvider@android:authorities was tagged at AndroidManifest.xml:13 to replace other declarations but no other declaration present

> Task :app:transformClassesWithFirebasePerformancePluginForDevDebug
java.lang.ClassNotFoundException: androidx.window.extensions.embedding.SplitPlaceholderRule
java.lang.ClassNotFoundException: androidx.window.extensions.embedding.SplitPairRule
aapt2 W 08-10 14:40:54 16046 1730502 LoadedArsc.cpp:657] Unknown chunk type '200'.

aapt2 W 08-10 14:40:54 16047 1730503 LoadedArsc.cpp:657] Unknown chunk type '200'.


> Task :app:transformClassesWithFirebasePerformancePluginForProdDebug
java.lang.ClassNotFoundException: androidx.window.extensions.embedding.SplitPlaceholderRule
java.lang.ClassNotFoundException: androidx.window.extensions.embedding.SplitPairRule

> Task :app:connectedDevDebugAndroidTest
Starting 0 tests on Pixel_4_API_30(AVD) - 11

com.android.build.gradle.internal.testing.ConnectedDevice > No tests found.[Pixel_4_API_30(AVD) - 11] FAILED 
No tests found. This usually means that your test classes are not in the form that your test runner expects (e.g. don't inherit from TestCase or lack @Test annotations).

> Task :app:connectedDevDebugAndroidTest FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:connectedDevDebugAndroidTest'.
> There were failing tests. See the report at: file:///Users/nils/Projects/sharezone/sharezone-app/app/build/app/reports/androidTests/connected/flavors/devDebugAndroidTest/index.html

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.3.3/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1m 52s
770 actionable tasks: 766 executed, 4 up-to-date

@nilsreichardt nilsreichardt marked this pull request as ready for review August 17, 2023 19:09
Copy link
Collaborator

@Jonas-Sander Jonas-Sander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the detailed steps in app/integration_test/README.md.

@nilsreichardt nilsreichardt added this pull request to the merge queue Aug 17, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 17, 2023
@nilsreichardt nilsreichardt added this pull request to the merge queue Aug 17, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 18, 2023
@nilsreichardt nilsreichardt added this pull request to the merge queue Aug 18, 2023
Merged via the queue into main with commit 37f5373 Aug 18, 2023
@nilsreichardt nilsreichardt deleted the use-firebase-test-lab branch August 18, 2023 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants