-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
ManagedVirtualDevice
support
#320
Comments
Still chewing on this one...the main issue is that Shot copies the files from the device after the test is run, but at this point the emulator is already gone. I did find this SO post which describes how data is copied off the managed device. This is the same way Google pulls baseline profiles from the managed device. |
There is a sample from Google demonstrating how to take sreenshots using Gradle managed device. After test run files would be saved to the |
Not sure how, but looks like there's two features here:
Is the issue that we can't override where the facebook lib puts the screenshots? (I could just look but wondered if anyone knew?) |
I'm the original author of the Facebook library. You can actually fetch the screenshots from Firebase Test Lab using the I have an example here: https://github.com/screenshotbot/shot-example, in particular the CI config here: https://github.com/screenshotbot/shot-example/blob/main/.circleci/config.yml#L30 But this example is using Screenshotbot to store and review the images. (PS. We're also working on an Android emulator as a service that exposes a full ADB connection unlike FTL, which means the Shot gradle rules will work without any changes. Let me know if you're interested in being an early beta tester.) |
@tdrhq sounds good, we're currently playing with the FirebaseTestLab Gradle managed devices plugin at the moment, much easier to work with, but still hit by there painful 4 minute "Wait" before the device even starts running the tests. Yeah hit me up with an invite! |
Is there a way to support
ManagedVirtualDevice
introduced with AGP 7.3.0? It would be amazing to make use of this new AGP feature so we no longer need to manager our own emulators on our CI system. Ideally the invocation would look like./gradlew pixel4aApi30ExecuteScreenshotTests
The text was updated successfully, but these errors were encountered: