-
-
Notifications
You must be signed in to change notification settings - Fork 446
How to generate screenshots for the PlayStore
Pierre Slamich edited this page Aug 25, 2020
·
1 revision
Configuration is set in openfoodfacts.github.scrachx.openfood.test.ScreenshotParametersProvider
To generate screenshots, possible to launch:
- TakeScreenshotIncompleteProductsTest
- TakeScreenshotMainActivityTest
- TakeScreenshotShowProductsTest
Warn: see app\build.gradle to change the testBuildType: screenshot should selected (uncomment lines)
It's possible to generate all screenshot with:
gradlew connectedOffScreenshotsAndroidTest --stacktrace --info -PtestBuildType=screenshots
Screenshots are generated in the Phone "Pictures" folder:
Example for Brazil: