Releases: sergio-sastre/AndroidUiTestingUtils
2.0.0-beta01
Add support for library-agnostic screenshot tests for:
- Paparazzi
- Shot
- Dropshots
1.2.4
- Fix InAppLocaleTestRule on API 33+
- Fix UiAutomation connection errors
- Fix pseudolocales en_XA & ar_XB not working on API 23
1.2.3
- Bug fixes regarding
-
Add extension methods
drawToBitmapWithElevation()
to generate bitmaps that consider elevation. Screenshot testing libraries like Dropshots, Facebook and Shot allow to pass such bitmpas to their record/verify methods. -
Optimize the size of generated screenshots with
waitForMeasuredView/VieHolder/Dialog()
methods. This is useful when using libraries that don't take height/width arguments in their record/verify methods, for instance Dropshots.
1.2.2
Focus on bugfixes for Locales:
- Support for complex locales e.g. "sr-Latn-RS", "sr-Cyrl-RS" or "zh-Latn-TW-pinyin"
- Fix SystemLocaleTestRule not changing Locale for first test
- Fix LocaleTestRule not reseting Locale properly after every test
- Fix ActivityNotFoundException on API 33
1.2.1
Add support for:
- Locale in 2 different forms:
- App Locale (i.e. per-app language preference)
- System Locale
- Fragments via FragmentScenarioConfigurator
- Custom themes for Views and Fragments via setTheme()
- ActivityScenarioConfigurator & FragmentScenarioConfigurator rules for less verbose tests
1.1.2
1.1.1
Clean-up dependencies
1.1.0-beta
- Change Display Size configuration via TestRule & ActivityScenario
- Allow to set DisplaySizeTestRule and FontSizeTestRule timeouts. Both TestRules change the config via adb. Therefore, this can be helpful on emulator/devices that take too long for the corresponding adb commands to take effect.
1.0.0
Initial release with support for changing the following configurations in your instrumented tests:
- Locale (also Pseudolocales en_XA & ar_XB)
- FontSize
- Orientation
- Dark Mode /Day-Night Mode
Support for Activities, Android Views and Jetpack Compose
Initial pre-release
Contains TestRules and ActivityScenarios for changing the following settings:
- FontSize
- Locale