Replies: 4 comments 1 reply
-
|
Are you saying that gradle-managed devices are not virtual/emulators? Just reading docs and it seems like it would be and thus act the same - https://developer.android.com/studio/test/gradle-managed-devices |
Beta Was this translation helpful? Give feedback.
-
|
I was looking into the same thing a little while ago, but GMD automatically shutdown after test execution completes, so currently, I think we can't use screengrab with GMD. I think some changes are required to the screengrab options for using GMD and to the Gradle plugin logic for the actual screenshot capture process. (maybe screenshot destination change and GMD options to identify Gradle taskname) |
Beta Was this translation helpful? Give feedback.
-
|
The default gradle taskname is "allDevicesDebugAndroidTest" so that is easy. It might be problematic to pull the screenshots from the test-device before it is shutdown. |
Beta Was this translation helpful? Give feedback.
-
|
I just found that files stored in |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
my instrument tests started via Gradle automatically run on gradle-managed devices, however the fastlane screenshot action needs a running emulator.
Did anyone manage to use gradle-managed devices for fastlane?
This is how you add gradle-managed devices.
Beta Was this translation helpful? Give feedback.
All reactions