Releases: sergio-sastre/AndroidUiTestingUtils
2.0.0-rc1
Focus on Cross-library screenshot tests:
✅ Support for Android Views!
✅ Support for Accessibility (Roborazzi & Paparazzi)
📈 More library specific configurations supported
🐞 Bug fixes (Roborazzi filePath, Paparazzi environment...)
Breaking changes:
modules :sharedtest-paparazzi and sharedtest-roborazzi are renamed to :mapper-paparazzi and mapper-roborazzi respectively
Some classes have also changed their absolute paths
2.0.0-beta04
Cross-library screenshot tests
- Support AGP 8.x
- Fix Dropshot tests not recording/verifying
- Fix Roborazzi tests not screenshoting Composables inside Launch Effects (e.g. Snackbar)
- Fix Paparazzi tests with
RenderingMode.SHRINK&Orientation.LANDSCAPE, width & height were not properly set
New features
View.drawFullScrollableToBitmap(config: Bitmap.Config = Bitmap.Config.ARGB_8888)
It draws a full scrollable view to Bitmap, even though it goes beyond the activity window.
Works with all:
1. On-device screenshot testing libraries (e.g. Dropshots, Shot, etc.)
2. Robolectric-based screenshot testing libraries (e.g. Roborazzi)
2.0.0-beta03
Focus on Cross-Library screenshot testing:
- Support for Roborazzi
- Support for DisplaySize & complex Locales e.g. "sr-Cyrl-RS"
- Add more options for specific libraries (e.g. backgroundColor)
2.0.0-beta02
- Adds full support for Robolectric: a perfect companion for Roborazzi screenshot tests!
- Improves supports for "shared screenshot testing"
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