fastlane: Screengrab places screenshots into wrong locale directory
I got this Screengrab file:
app_package_name('com.vanniktech.meditationtimer')
use_tests_in_packages(['com.vanniktech.meditationtimer.screenshots'])
test_instrumentation_runner('androidx.test.runner.AndroidJUnitRunner')
app_apk_path('build/outputs/apk/debug/app-1.1.8-debug.apk')
tests_apk_path('build/outputs/apk/androidTest/debug/app-1.1.8-debug-androidTest.apk')
locales(['de-DE', 'tr-TR', 'ru-RU', 'fi-FI', 'es-ES', 'pt-BR', 'pt-PT', 'it-IT', 'fr-FR', 'en-US'])
launch_arguments(['isUsingFastlane true'])
device_type('phone') # ./emulator @Nexus_6P_API_27
exit_on_test_failure(false)
when running fastlane screengrab the screenshots are put into the first part specific directory though. So instead of having my screenshots inside ./fastlane/metadata/android/it-IT/images/phoneScreenshots I get them inside ./fastlane/metadata/android/it/images/phoneScreenshots. This happens for all locales. de-DE -> de, en-US -> en etc.
This hasn’t always been the case. Was this change intended?
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 3
- Comments: 18 (12 by maintainers)
Can we leave this open until there’s a new version of the library being released?
I am getting the exact same problem. This screen grab function is totally broken. Is there any idea when it will be fixed?