cats-oss / fastlane-plugin-firebase_test_lab_android

Test your app with Firebase Test Lab with ease using fastlane for Android
MIT License
48 stars 8 forks source link

Can't download test results when sharding #15

Open ghost opened 3 years ago

ghost commented 3 years ago

Hi,

I'm having trouble downloading the test results of a test with sharding.

It looks that the URL to download the results does not take into account the folder structure with sharding.

 Exit status of command 'gsutil -m cp -r gs://any_path/any_test/Pixel2-29-es_ES-portrait .firebaseTestLabResults' was 1 instead of 0.
 CommandException: No URLs matched: gs://any_path/any_test/Pixel2-29-es_ES-portrait
 CommandException: 1 file/object could not be transferred.

When using sharding, the folder structure is gs://any_path/any_test/Pixel2-29-es_ES-portrait .firebaseTestLabResults-shard_#.

It might be better downloading the test results on the root folder or iterating through all shards folders.