-
Notifications
You must be signed in to change notification settings - Fork 27.2k
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
[integration_test] Test doesn't start when uploaded APK to Firebase Test Lab #86173
Comments
Verified this on latest stable and observed same behavior, ie, the test seems to be stuck at initial setup ( ftl.mp4flutter doctor -v
|
I also have this issue, any updates on this? |
I am also experiencing this issue, however, the Firebase Test Lab video doesn't even say "Test Starting...". I just see a white screen. The test passes on my Mac but times out on Firebase Test Lab. It's reproducible with these variants:
matrix-2nre8ujlpfmo2.mp4Any help greatly appreciated. |
I was able to get Firebase Test Lab to test a Flutter App by using this Espresso "bridge" https://pub.dev/packages/espresso. So instead of writing Flutter tests with the Not ideal. Update: Flutter's Espresso plugin causes "Duplicate class" compilation errors when added to a project that contains Flutter Firebase SDKs, e.g. |
Just to clean up this issue - it is not reproducible. I have not issues running this one on Firebase Test Lab. |
Continuation from #85728 (comment)
I can reproduce an issue with
integration_test
running on the Firebase test lab using a regular Flutter app. Following the steps as #85728 (comment)Code Sample Repository
https://github.com/tesserx/flutter_integration_ftl
(note: add your own maps API key)
Steps to reproduce
stable, 2.2.3
integration_test
dependency, add a very simple test to find app titleRun the test locally with
flutter drive --driver=test_driver/integration_test.dart --target=integration_test/app_test.dart
Follow instructions to upload an APK to Firebase Test Lab
Upload the APK, the test passes. check out test screenshots and video, logs
Firebase test lab says tests have passed, video is only around a minute, screenshots show the test started and the app was running (can see home screen)
Now let's make it a little bit more complex, for which I simply added another screen with the
google_maps_flutter
example.6. Add button to navigate to this maps page, click a button and navigate back to home screen
Screen.Recording.2021-07-09.at.4.45.25.PM.mov
Check out test results
preview
monkey test taps
integration_test
was done for the entire duration of the test.preview
web-build_2021-07-08T13_05_03.590Z_auzl_blueline-28-en_US-portrait_video.mp4
logcat
from this test, there are so many error messageslogcat.zip
Thank you
The text was updated successfully, but these errors were encountered: