screengrab/README.md in fastlane-2.25.0.beta.20170401010021 vs screengrab/README.md in fastlane-2.25.0.beta.20170402010035

- old
+ new

@@ -130,11 +130,11 @@ fastlane screengrab --help ``` # Tips -# UI Tests +## UI Tests Check out [Testing UI for a Single App](http://developer.android.com/training/testing/ui-testing/espresso-testing.html) for an introduction to using Espresso for UI testing. ##### Example UI Test Class (Using JUnit4) ```java @@ -166,9 +166,13 @@ - Use `LocaleUtil.changeDeviceLocaleTo(LocaleUtil.getTestLocale());` in `setUp()` - Use `LocaleUtil.changeDeviceLocaleTo(LocaleUtil.getEndingLocale());` in `tearDown()` - Use `Screengrab.screenshot("name_of_screenshot_here");` to capture screenshots at the appropriate points in your tests If you're having trouble getting your device unlocked and the screen activated to run tests, try using `ScreenUtil.activateScreenForTesting(activity);` in your test setup. + +## Clean Status Bar + +You can use [QuickDemo](https://github.com/PSPDFKit-labs/QuickDemo) to clean up the status bar for your screenshots. ## [`fastlane`](https://fastlane.tools) Toolchain - [`fastlane`](https://fastlane.tools): The easiest way to automate beta deployments and releases for your iOS and Android apps - [`supply`](https://github.com/fastlane/fastlane/tree/master/supply): Upload screenshots, metadata and your app to the Play Store