Questions tagged [firebase-test-lab]

Firebase Test Lab provides cloud-based infrastructure for testing Android and iOS apps. This includes test experience integrated into Android Studio, gcloud command-line tool, and Firebase Console. For comprehensive testing before releasing your app, Firebase Test Lab gives you access to physical & virtual devices installed and running in a Google data center.

Firebase Test Lab is a component of the Firebase suite and provides cloud-based infrastructure for testing Android and iOS apps. With one operation you can initiate testing of your app across a wide variety of devices and device configurations. Test results — including logs, videos, and screenshots — are made available in your project in the Firebase Console. Even if you haven't written any test code for your app, Test Lab can exercise your app automatically, looking for crashes.

Related tags:

348 questions
10
votes
3 answers

Unable to upload APK to in Firebase Test Lab

I have recently upgraded to the 'Blaze" plan of Firebase. I am trying to test a release APK using the Firebase Test Lab, but every time I upload an APK, I get this. The file could not be uploaded to Google Cloud Storage (GCS). This issue might be…
Aritra Roy
  • 15,355
  • 10
  • 73
  • 107
9
votes
2 answers

gcloud Firebase Android Test: Unable to access the test environment catalog: ResponseError 403: Not authorized for project

What I did: I set up gcloud on a jenkins docker container with this guide: https://firebase.google.com/docs/test-lab/continuous What I want to execute: gcloud firebase test android run --app ./app/build/outputs/apk/app-debug.apk The error I…
hb0
  • 3,350
  • 3
  • 30
  • 48
8
votes
0 answers

How UI test Jetpack Compose using Firebase Test Lab?

For testing compose layout we have a default library. To run Firebase Test Lab (FTL) it says you need Espresso or UI Automator frameworks. But I'm not sure if this is outdated or not. Putting my APKs (that use jetpack compose and the compose testing…
8
votes
2 answers

How to write Espresso Tests which are mocking GPS locations and use them in Google Testlab?

I recorded an espresso test with Espresso Recorder. I want to test some location changes in my app. Currently I'm mocking the location with this code: LocationManager lm = (LocationManager)…
7
votes
0 answers

React Native 0.60.4 / couldn't find DSO to load: libhermes.so on Firebase Test Lab

I have got this error at startup ONLY when testing my react native app on Firebase Test Lab (Robo) java.lang.UnsatisfiedLinkError: couldn't find DSO to load: libhermes.so Tested on several devices with different API, it works only on API 21 and 22.…
7
votes
1 answer

gcloud CLI: How to run instrumentation tests with clearPackageData argument?

I'm running my tests using gcloud firebase test android run command with --use-orchestrator flag to enable Android Test Orchestrator. There is an Orchestrator argument clearPackageData to clear app's state between tests, which I'm able to use when…
pavelicii
  • 1,590
  • 11
  • 21
7
votes
0 answers

Android Studio: How to run tests in Firebase with Orchestrator enabled?

Is there a way to run instrumentation tests in Firebase Test Lab from Android Studio with Android Test Orchestrator enabled? In my build.gradle I have all of the required statements: android { defaultConfig { testInstrumentationRunner…
7
votes
1 answer

What devices are supported in Android Firebase Test Lab (Only about 16 are listed)

I only see about 16 devices available in Firebase Test Lab and from Google I/O I got the impression that there were going to be more. There was specifically a question asked about this in one of the session Q/A. Are there more devices than the ones…
Wayne
  • 123
  • 5
6
votes
3 answers

Google test users on Firebase auth

I have implemented google sign-in , and anonymous sign-in through firebase on my app. Whenever I submit a new apk to google play console, google runs its tests and generates a pre-launch report, which is all nice, informative, and good. The problem…
maclir
  • 3,218
  • 26
  • 39
6
votes
0 answers

Test cases failing on Firebase Test Lab but works on local machine

I have written AndroidUnitTest for custom views. They work fine on local but crashes on FTL with Test failed to run to completion. Reason: 'Instrumentation run failed due to 'Process crashed.''. Check device logcat for details On Firebase Console…
iamanbansal
  • 2,412
  • 2
  • 12
  • 20
6
votes
1 answer

Merged test apk for dynamic feature modules

Is there a way to create a universal APK for instrumented tests? I wanted to run the whole test suite on Firebase Test Lab but it seems tedious to upload one APK for each dynamic feature module's test APK. For the app, you can do a…
6
votes
2 answers

Firebase Test Lab Coverage with Orchestrator Permission Denied

We are currently attempting to use Google's Firebase Test Labs for testing our android app on devices. To test things, I've created a small app that doesn't do anything except get tested, and it's worked well so far, except that the recommended way…
sonOfRa
  • 1,280
  • 11
  • 21
6
votes
1 answer

Execute Instrumented Test for an Android Library with Firebase Test Lab?

I'm working on CircleCI, and I'm trying to execute Instrumented Tests for an Android Library with Firebase Test Lab (because Android Virtual Devices are not supported by CircleCI). My Instrumented Test works like a charm under Android Studio, but…
6
votes
1 answer

How to fetch gcloud Firebase test lab Android Espresso results after testing from CLI?

We're using Travis CI in combination with Fastlane to do our automated builds and nightly UI Espresso tests. For the instrumentation tests we are trying to use Firebase Test lab using the gcloud command line tools. I'm trying to get the test results…
5
votes
2 answers

Running multiple test case on Firebase Test Lab

I am trying to run my integration test on Firebase Test Lab. flutter build apk -t lib/main_dev.dart ./gradlew app:assembleAndroidTest -Ptarget=lib/main_dev.dart ./gradlew app:assembleDebug -Ptarget=integration_test/login_test.dart This code…
Asis
  • 683
  • 3
  • 23
1
2
3
23 24